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.

ad hoc preview confirmation

  1. vivalet
    Member

    I am attempting to make my own preview confirmation page.

    I have created an entry form which is then submitted to a redirected page with email address of user passed using Pass Field Data Via Query String. This page is the confirmation page.

    On this confirmation page is a preview of input and a confirmation form consisting of a checkbox for comfirming that all is correct.

    What I would like to be able to do is include the user email from the entry form as a hidden field so I can send the user a confirmation email when he clicks submit on the second form.

    Is there a way to do this?

    Thanks!

    PS I would submit URL, but it is password protected while under development.

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  2. Hi Vivalet,

    Sounds like you're most of the way there. Let's pick up from the submission of the first form where you are passing the user email in the query string. Should look something like this:

    http://yourwebsite.com/yoursecondform/?user_email=user@gmail.com

    The next step is to create an actual email field. Now on this email field we'll want to do two things. The first is to activate the dynamic population property of your hidden field. Whatever parameter you're using to pass the user email is what you'll want to specify here. If you look at my sample URL, we're using "user_email" as the parameter.

    http://grab.by/8m7E

    The second step here is to specify a css class that we will later use to hide this field so we can populate it without the user having to see it.

    Quick note: The reason we need to make this an email field as opposed to just making it a hidden field is because on the Gravity Form "Notfication to User" settings only allow you to specify email fields for the "Send To Field" setting.

    http://grab.by/8m7J

    Now, save your form and go to the Notification settings for this form. Under "Notification to User", the email field we just created should be available. Go ahead and select it and configure the rest of your notification as you desire.

    The last step is to add the following line of CSS to your styles.css or any stylesheet that is being loaded on the same page as the form.

    .hide-this { display: none !important; }

    This is the CSS class we added to the email field, and all we're doing here is just telling it not to display. Easy peasy. :)

    Let me know if you need anymore help with this.

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  3. vivalet
    Member

    I was able to get this done, thank you, but another question. Is there a way to send all fields to the redirected page, or do they need to be picked one by one? I have a huge form with a lot of conditional fields and I am looking at this with panic that I am going to have to build the query string one by one?

    Another question, is there a way to show previously input data after a page break in 1.5?

    I can't wait for a confirmation preview functionality!

    Thank you!

    Posted 13 years ago on Thursday January 13, 2011 | Permalink
  4. mrhoneyfoot
    Member

    Subscribed. Interested in how it will turn out.

    Posted 13 years ago on Saturday January 22, 2011 | Permalink
  5. mrhoneyfoot
    Member

    On the subject of your wanting a preview page Vivalet, there is a way to do this using existing functionality. It only works for multiple-choice form-fields, so if you have any free text or paragraph fields it ain't guna work. It's not slick from a back-end point of view, and depending on the size of your form, could take you a while. But as far as the end-user is concerned, it's a summary of their choices before confirmation.

    Although if you have text fields, it's not much use. So are you using text fields?

    Posted 13 years ago on Sunday January 23, 2011 | Permalink
  6. vivalet
    Member

    Hello, yes, I have one text field, a product descripition, and potentially ten if they enter in 10 products.

    Posted 13 years ago on Wednesday February 23, 2011 | Permalink
  7. florianbepunkt
    Member

    hello mrhoneyfoot. I searched for a preview fuctionality and stumbled upon this thread. since I only have multiple choice fields I was wondering, if you could provide me with a hint or some code snippet how to realize this with existing gf functionalyity.

    any held would be much appreciated.

    Posted 13 years ago on Thursday November 3, 2011 | Permalink
  8. daniel davidovsky
    Member

    i'm looking for a similar feature. subscribed.

    Posted 13 years ago on Friday November 4, 2011 | Permalink