I submitted that form and it did not appear to do anything? I don't see a Gravity Form on that page, so it will be difficult to provide you with an exact code example for your form and form fields.
Basically though, you want to retrieve all the emails addresses submitted by this form and display them on a page on your website? This code will give you a shortcode [submitted_emails] and you can insert that into a page or post to return a list of all values for one field, from one form. Use it like this:
[php]
[submitted_emails form='FORMID']
Where FORMID is your actual form ID. If you want the email addresses from form 2, the shortcode in your post will look like this:
[php]
[submitted_emails form='2']
http://pastebin.com/FUF9HA6B
You need to edit this code on line 7 to include the ID of the field you want to return values for. And when you use the shortcode, use the ID of the form you want values from. Let us know if you need more help with that.
Posted 12 years ago on Saturday December 10, 2011 |
Permalink