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.

Gform field value $parameter dynamic population hook with ajax form

  1. I'm trying to use the Gform field value $parameter name hook for dynamic population in an ajax form.

    My hook uses the global $post variable to get the excerpt of the post the form was used on.

    This works well for non-ajax forms, but is there a way get this to work with ajax-enabled forms?

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  2. As a side note, If I view the page in firebug in Firefox, it reveals that the hidden form fields have the correct values. Upon submission, it also appears the values are saved in the entries section of the wordpress admin interface. I have an email notification that is setup for the form and it uses some of the dynamic fields. Generated emails seem to be the one point where the values are not being used right (despite other merge fields working, which when ajax is off, includes the dynamic fields)

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  3. I must have updated some of the form settings after switching to ajax, and so the form fields got assigned new values. After updating to use new merge field values, my notifications now work. Thanks and please disregard this thread.

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  4. Thanks for letting us know, glad you got it sorted out.

    Posted 12 years ago on Monday April 16, 2012 | Permalink

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