I have 2 text fields, when i enter data in one, I'm looking to make the other text field required
Views
Replies
Total Likes
in the layout:ready event of the 1st text field put (in Formcalc):
if ($.isNull == 0 and TextField2.isNull) then
TextField2.validate.nullTest = "error"
else TextField2.validate.nullTest = "disabled"
endif
Views
Replies
Total Likes
I have 10 email addresses that I'm trying trying to make required if they put a name in the first text field. It works fine for the first 2 fields, but not the remaining fields. Here is what i put in the other fileds
if ($.isNull == 0 and Email_Address2.isNull) then
Email_Address2.validate.nullTest = "error"
else Email_Address2.validate.nullTest = "disabled"
endif
if ($.isNull == 0 and Email_Address3.isNull) then
Email_Address3.validate.nullTest = "error"
else Email_Address3.validate.nullTest = "disabled"
endif
if ($.isNull == 0 and Email_Address4.isNull) then
Email_Address4.validate.nullTest = "error"
else Email_Address4.validate.nullTest = "disabled"
endif
all the way through Name10 still new to this, just trying to understand. Thanks
Views
Replies
Total Likes
I figured out what i did wrong. Thanks
Views
Replies
Total Likes