Set Form Element Property: not required
I have to change the behavior of elements based on If condition, so if the radio button is selected to “Yes” show and require subsequent text boxes. If the radio button is selected to “No” hide and not make the text boxes required.
I've set the default settings of the text boxes to just Enabled. I can change the visibility of the textboxes based on the radio button (used it's change event), but can't seem to change the require property. If I set the property to required in the true condition, it's stuck on required for the false condition as well.
-
The require property is a boolean value, so you should set it to either =true or =false
But if the text boxes are already hidden, there's no need to set them to ‘not required’. Hidden elements are not included in the form's validation, as far as I know.
1 -
FWIW Anna, the help docs describe the data types of element arguments.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer