Gravity Forms – Using a Form to Pre-populate A Gravity Form [closed]

Try this:

  1. Check the Allow field to be populated dynamically box (done).
  2. Enter a parameter name (in this example, I’ll call it my_param).
  3. Add code to functions.php:

    function populate_fields( $value, $field, $name ) {
        // Use the POSTed data if it's there
        return isset( $_POST[ $name ] ) ? $_POST[ $name ] : $value;
    }
    add_filter('gform_field_value_my_param', 'populate_fields', 10, 3);
    

Note that the filter is gform_field_value_{$parameter_name}, not simply gform_field_value.

Reference

Using Dynamic Population