Rules on Nested Subform controls
I am working on a form with nested subform that goes 3 level deep.
Subform1 (repeating)
- Subform2 (repeating)
- Subform3 (repeating)
- Button
- Text Area (not visible by default)
I am trying to add rules on Button control that will Show Control (Text Area)
There is no option to setup 'OnClick' rule for button control, so we are setting it to 'is present'. Field path is "SubForm1/SubForm2:[this]/SubForm3:[this]/Button1:[this]"
and Show Control field path is SubForm1/SubForm2:[this]/SubForm3:[this]/TextArea1:[this]
Onclick this displays the text area as expected, but if we try to add any of the new SubForms, text area in Subform3 is no longer hidden.
How can we restrict the Rule to a particular Subform scope ?
-
Hi Madhu,
i understand your issue, and we can reproduce, and i know we can do js tricks to make it correct, but some kind of complicated.
i found a small trick, although i cannot explain why yet, but it can make your life easier.
i didnt find a way to put an attachment here, in case you need that way, contact me on tang.mezzo@agilepoint.eu.
Regards,
Mezzo
Please sign in to leave a comment.
Comments
1 comment