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.

Pass Field Values by function call : Any news / ETA ?

  1. Is there any news about full implementation of gravity_form() function call to allow passing field values ?

    Posted 12 years ago on Wednesday January 25, 2012 | Permalink
  2. Is there any support ?

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  3. Hi Mediana,

    The gravity_form() function can currently be passed field values for auto population. The field values will need to be passed as an associative array with the prepopulation parameter as the field key and the value you want to populate for that as the corresponding value.

    Example:

    [php]
    gravity_form(116, false, false, true, array('parameter_name' => 'value'));

    In this example "parameter_name" is the dynamic population parameter set on one of my form fields and "value" is the value which will be populated for the field with this parameter.

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  4. Well, good news, but documentation needs update as it still says that it will be supported in the future.

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  5. Thank you for bringing this to our attention. The documentation has been updated. :)

    Posted 12 years ago on Thursday February 2, 2012 | Permalink

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