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