This topic contains 2 replies, has 0 voices, and was last updated by Anonymous 12 years ago.
- April 20, 2009 at 9:55 pm #161
I have a parent/child form set-up. I want certain fields from the parent form to feed into the child form, so I have set up custom parameters. When I create a child instance, I can see that the fields have come into the child form.
However, if I submit the data, the data in the fields that were pulled in disappears.
Why is that?April 21, 2009 at 10:50 am #4480
How are handling the loading of the custom parameters to the child form?
If you have this set field script on the ‘when form is opened’ then the script will run everytime you open the form, and will not then be able to detect the parameter from the parent form in future stages (ie as you reload the form again)
Add to your form behavior a condition so that this set field script only runs when the form is loaded first time (ie something like .. if stage = stage 1 .. for the condition, with the set field action under the TRUE branch) and you will see the data loaded from the custom parameter action in all future stages of the formApril 21, 2009 at 3:32 pm #4490
Thanks – I was using ‘when form is opened’ – I’ve fixed it according to your advice and that took care of my problem!
You must be logged in to reply to this topic.