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.

User preview prior to submit?

  1. anointed
    Member

    How do I go about allowing a user to preview their form prior to submitting it?

    Ultimately what I would like to accomplish is to have a preview button, that would allow the user to edit anything they find wrong with their form prior to it being submitted.

    As I am using a particular form for post-submission, it's kind of important to allow the user to make sure that everything is correct, so that they feel confident before submitting their form.

    What would be really an extra nice benefit would be to allow the user to see their submitted form in the exact style that it is going to be when presented as a post on the website.

    Is any of this possible? (I'd be happy with simple preview before submit if that is all that is available right now, I just can't find a setting to allow that.. seen this on many other sites before, and it's very nice)

    Posted 14 years ago on Wednesday June 9, 2010 | Permalink
  2. This isn't currently something Gravity Forms does out of the box. It is a feature we plan on adding in a future release. Currently once a form is submitted, it's processed and posted so there is no preview functionality.

    It would be possible to create your own preview functionality using the hooks and PHP. It would basically involve passing ALL the data to the form again, and then pre-populating the fields with what was submitted. They would then submit the form and create a new entry with the same data. You would also have to delete the original entry that was created to avoid duplicate data.

    Posted 14 years ago on Wednesday June 9, 2010 | Permalink
  3. thefidler
    Member

    I have a need for the same functionality.

    Would it be possible using PHP or javascript and the gform_pre_submission hook to save the edited data back to the original entry? This would eliminate the need to do the delete and keep the database cleaner.

    If this is not possible what is the best way to clean up the tables to remove the deleted entries?

    Posted 14 years ago on Wednesday August 18, 2010 | Permalink
  4. It wouldn't be possible to save it back, that would require more work. However it would be possible to delete the entry that was created and then create another.

    Posted 14 years ago on Wednesday August 18, 2010 | Permalink
  5. coburnenterprises
    Member

    Hi there - I see this is an old post ... any chance this functionality has been added and I'm just a loser and can't see how to implement it?
    Here is my need:
    My client has a print publication for selling cars.
    They want to allow users to submit an add and pay for it online - not for publication to the website (at least not at this time) but for publication in the print publication.
    Basically the form will have a few fields including title, year, make and description and then an "upload image" button - then they will be taken to a preview screen to check their content/details - then they will click a "Pay Now" button to pay and then the ad get's emailed to my client and stored in the database (like a contact us form does). Anyone have any How To guides to send me to?

    Thanks!
    Harmony

    Posted 12 years ago on Thursday June 14, 2012 | Permalink
  6. David Peralty

    This functionality has not been added yet but there is a how-to guide on how to accomplish it:
    http://gravitywiz.com/2012/04/30/simple-pre-submission-confirmation/

    Posted 12 years ago on Thursday June 14, 2012 | Permalink