List Value Merge Tag - Email Address

Hi There

In our Sign Up form, my (ex) developer has chosen to put the person’s email in a horizontal list entry, along with their name and phone number. Bad decision (as I now know).

In the Notifications email, he has used {user:user_email}, but that isn’t working correctly (it’s sending to the wrong email address).

The email address is in the second column of a list in the Sign Up form. I would ideally like a merge tag reference, which I could use to populate the “To:” email address in the notification.

I would have thought this would be relatively simple, but I haven’t been able to achieve it. I either get the entire 3 column entry (which is, of course, rejected as an invalid email), or where I try and enter {[list]:3.2}, then it doesn’t give me the field entry, but literally gives me “{[list]:3.2}” in the “To:” box. So, it doesn’t seem to recognise an individual entry in a list as valid merge tag data.

I have seen topics here where it links to many lines of code to solve this, but that is beyond me. Is there any way to make an entry in a list into a merge tag?

Thanks

If you are only collecting those three pieces of information, can you recreate this form, and put the three fields side by side in columns? That would allow you to use an email field in the proper location, and then use that field in your notification.

If that’s not an option, then PHP code is your other option. Please let us know if you can recreate the form in the proper way to get around this issue by using an email field. Thank you.

Thanks Chris. If possible as a future enhancement, it would be nice to be able to use individual list/array entries as merge tags.

Hi Bradley. If you think this would make a good addition to Gravity Forms, I recommend adding a note to our product roadmap. Click the blue plus in the lower left on this page to add a note for our product team:

Thank you.​​

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.