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.

Custom form for sending mail

  1. Is it possible to create a custom Form which would have various functions:

    1) possibly password protected or use Wordpress Authentication.
    2) allow the form to create an email message which gets sent to an email that is input in one of the form fields.

    Basically the idea is to allow writers to easily contact marketing departments via this form. The fields would be something like:

    Marketing Dept Email
    Contact Name
    Product Name
    URL

    Then the form will send an email to the Market Dept Email, addressing them by name, requesting the Product Name and placing the URL somewhere neatly in that same message. The reply/sender address would not change, it would be something like media@ourcompany.com

    Hope I explained that clearly? Any help or guidance would be greatly appreciated.

    Thanks

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  2. Yes, this is all possible and built in to Gravity Forms and WordPress.

    Have you already started with your form? If not, please do, then post a link to the page with the form embedded and let us know where you get stuck. We will be happy to help you out.

    Posted 12 years ago on Thursday August 30, 2012 | Permalink
  3. Ok, got most of the form done. How do I create a field that includes the username of the wordpress user when they are logged in?

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  4. I have this field hidden, then showing in the notifications, but nothing is sent: http://s15.postimage.org/fzjcisd4b/Screen_Shot_2012_09_04_at_11_01_02_AM.png

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  5. What do you mean "nothing is sent"? What are you trying to do with the logged in user name? Is that user name being stored in the entry?

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  6. I just want the username to be shown in the form data that emails me. So I can know which user submitted it.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  7. So, in the admin notification, you want the logged in user's name present? Can you export your form please and email it to me at chris@rocketgenius.com so I can have a look? Thank you.

    What version of Gravity Forms and WordPress are you using?

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  8. Thanks Chris, you asking me that just made me update to the latest version and now the User Display works!

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink
  9. Very good. There was a change in how WordPress handled the usermeta a while back, which is why I thought of that. Thanks for the update.

    Posted 12 years ago on Wednesday September 5, 2012 | Permalink

This topic has been resolved and has been closed to new replies.