Saving the form as dynamic gets the button working (attached).
Also I am not sure you need the "TextField7.relevant = "+print";" line because the textfield is made visible by the first line of script and will automatically print.
If you want the field to print even if it is invisible, you could put the relevant script in the initialize event.
Saving the form as dynamic gets the button working (attached).
Also I am not sure you need the "TextField7.relevant = "+print";" line because the textfield is made visible by the first line of script and will automatically print.
If you want the field to print even if it is invisible, you could put the relevant script in the initialize event.