Is there any news about full implementation of gravity_form() function call to allow passing field values ?
Is there any news about full implementation of gravity_form() function call to allow passing field values ?
Is there any support ?
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.
Well, good news, but documentation needs update as it still says that it will be supported in the future.
Thank you for bringing this to our attention. The documentation has been updated. :)