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.

Is there a way to return to the form in the form_pre_submission

  1. outcrop
    Member

    I am verify data after things are submitted. (to prevent hacking radio buttons) If my logic senses a problem how do I send them back to the form to fix things up.

    Thanks

    Scott

    Posted 13 years ago on Tuesday August 24, 2010 | Permalink
  2. Hi Scott,

    If you are looking to return the form object itself, you'll want to use the gform_pre_submission_filter. This works identically to the gfrom_pre_submission action except that it expects the modified (or unmodified) form object to be returned.

    If you are looking to modify the entry values, you can access and make changes to them through PHPs global $_POST variable.

    Hope that helps.

    Posted 13 years ago on Tuesday August 24, 2010 | Permalink