PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to send pre-definied form data from an other page

  1. fuhrmara
    Member

    Hi !

    I have a form build with gravity forms.
    The first field is a select field.

    Now i would like to send a default value from other posts to the form, so the value is already selected.

    e.g.
    the field-name is "input_1", is a select-field and the options are cities.
    In my posts i have a custom-field with the city.
    Now i add a form to my custom-posts with action="the page with the form"
    and a hidden-field "input_1" wich has as value the city of the post.

    All works, but the city isn't displayed as selected in the form.

    Is there any way to do this ?

    Regards
    Ralf

    Posted 11 years ago on Sunday January 24, 2010 | Permalink
  2. You would have:

    - edit the field you want to pre-populate in the Form editor

    - select the advanced tab

    - check the "Allow field to be populated dynamically" checkbox

    - give the dynamic field a Parameter Name (ex. city). This parameter name is what will be used in the querystring to pass the value.

    - save your form

    - pass the querystring parameter to your form via a link

    ex. http://mydomain.com/myformpage?city=Paris

    That should do the trick. If not, we would have to look at your configuration settings and see what isn't setup. You would have to contact us via the Contact Us form with a WordPress admin login to this site so we could take a look.

    Posted 11 years ago on Monday January 25, 2010 | Permalink
  3. fuhrmara
    Member

    Hi Carl !

    Thanks. This works fine.

    Regards
    Ralf

    Posted 11 years ago on Monday January 25, 2010 | Permalink

This topic has been resolved and has been closed to new replies.