Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
I have a form which has 3 checkboxes that if checked then the corresponding text boxes becomes visible. I also need each text box to be Required if it is visible; it should remain optional if the field remains hidden. Is there a code for this?
BIP 126
Solved! Go to Solution.
You can set the mandatory property via script.
//Make field mandatory textfield.mandatory = "error"; // Make field optional textfield.mandatory = "disabled";
View solution in original post
Worked perfectly!
Thanks so much!
Views
Likes
Replies