Hello,
I have been going crazy trying to figure this issue out.
I just know it will be something simple (maybe not) but I am lost in my thinking.
Here is the problem...
I have 10 text fields (textfield1, textfield2, textfield3, textfield4, etc)
When a client clicks to submit the form it needs to check if they entered any
information in textfield 2 thru textfield10 and if they did enter info in any or all the fields,
they will be required to fill in textfield 1 before the form can be submitted.
I hope this is enough info and I do appreciate any and all answers.
I am using Adobe Livecycle Designer 8.0
Try to use the following Javascript script for form presubmit event:
if ((TextField2.rawValue==null)&&(TextField3.rawValue==null)&&
(TextField4.rawValue==null)&&(TextField5.rawValue==null)&&
(TextField6.rawValue==null)&&(TextField7.rawValue==null)&&
(TextField8.rawValue==null)&&(TextField9.rawValue==null)&&
(TextField10.rawValue==null))
{TextField1.validate.nullTest="disabled";}
else {TextField1.validate.nullTest="error";}
Regards, Andrey