Avatar

Level 9

Hello ,

I guess there is a problem in accessing the fields due to subforms . What you can do here is to try with resolve node method.

Suppose there is field called Textfield 1. Click on the field in the design panel . Then select the script to all events . Then you can see a certain code comes in the javascript editor . Just copy that .Now type xfa.resolveNode("The copied content from the script editor").mandatory = error .(As per your requirement).

Thanks.

Bibhu