- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I apologize if this seems very basic question, but have not been able to find an answer yet.
I need to turn off a mandatory field inside a hidden subform. I can access the subform using the instance manager, but not any fields inside it.
I've tried something like this:
form1::preSubmit:form - (JavaScript, both)
if (page2.mainSub._branch2.count == 0){
page2.mainSub._branch2._reqField.mandatory = "disabled";
}
I guess my other option would be to make every field not required and then set to mandatory when the subform becomes visible.
Appreciate any help.
Thanks,
Mark
Views
Replies
0 Likes
Total Likes