PerfectForms Forums » Parent-Child Forms

Custom Parameters not saving in child form

(3 posts)
  1. 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?

    Posted 2 years ago #
  2. ijobling
    Member

    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 form

    Posted 2 years ago #
  3. Thanks - I was using 'when form is opened' - I've fixed it according to your advice and that took care of my problem!

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture