Hi all,
I've a requirement wherein i have to make some text fields mandatory.
I've selected "user entered-required" in the value but that does not help.
How do I do it using "FormCalc".
Please help me out.
Thanks,
Amie
Hi all,
I've a requirement wherein i have to make some text fields mandatory.
I've selected "user entered-required" in the value but that does not help.
How do I do it using "FormCalc".
Please help me out.
Thanks,
Amie
To answer your question about formcalc I suggest a calculate script attached to
an invisible button that looks something like this.
if (TextField1 == "") then
xfa.host.messagebox("Error you left [enter text boxe's name] empty please go back and fill it out",1,1)
button=15
elseif (TextField2 == "") then
xfa.host.messagebox("Error you left [enter text box's name] empty please go back and fill it
out",1,1)
//repeat elseifs for each you need to check for emptiness
else button=5
endif
//On your print button set a click event to this.
if (button=5) then [print script]
else xfa.host.messagebox("error you left a field empty",1,1)
endif
//that should prevent anyone from printing, check the messagebox syntex I may have gotten that //wrong. I tried to do it all from memory.