Default value (text) Populated from another text field

I have an online application I’m working on. I would like to dynamically populate the value of a text field with the user entered text from a filed on a previous page. Is there shortcode for this? Is there a way to do this?

There is no shortcode for that. However, the data is present in the $_POST so you have several options for using that later in the form.

  1. gform_pre_render. See example 3:
    https://docs.gravityforms.com/gform_pre_render/#3-populate-field-with-values-from-earlier-page

  2. JavaScript or jQuery. I don’t have any examples, but you can always use JavaScript live on the page.

  3. This plugin takes care of everything:
    https://gravitywiz.com/documentation/gravity-forms-populate-anything/

1 Like