- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Raj,
I'm not sure if I understand you right..
- Subform 2 and 3 don't need a script in the initialize - Go to Object | Subform | Presence | Hidden (Exclude..)
- If the user click the add-Button you don't need the If-Condition
- I would write
- this.resolveNode("subform2").presence = "visible"; // OR xfa.resolveNode("subform2").presence = "visible"; OR subform2.presence = "visible";
- this.resolveNode("PRI_DES2.PRI_FLAG2").rawValue = "X"; //OR xfa.resolveNode("PRI_DES2.PRI_FLAG2").rawValue = "X"; OR PRI_DES2.PRI_FLAG2.rawValue = "X";
- The last script I would not write in the form ready Event. Why you use this event?
- If you make the subform 2 an 3 hidden, you have to reset the entries in my opinion. You can use the following script: xfa.host.resetData("xfa.form.fomr1.subform2");
Sorry my english isn't the best. I hope I could help a little bit,
Mandy
Views
Replies
0 Likes
Total Likes