Contact Us Form

Permalink
I have built a contact us form for my website. It works great with one annoying exception.

When the email address I setup to gets notified when a form is submitted, the reply-to is set to the website admin email address.

Of course we all know what happens. When this user replies back to the person submitting the form, it gets sent back to the admin of the website.

I do capture the email address of the person submitting the form as a text field. How can I assign that to the reply-to ?

novologic
 
Remo replied on at Permalink Reply
Remo
set the FORM_BLOCK_SENDER_EMAIL constant in config.php
SigmaAlphaPi replied on at Permalink Reply
SigmaAlphaPi
set to what?
kino replied on at Permalink Reply
kino
http://www.concrete5.org/community/forums/usage/display-thank-you-page-after-user-submits-form/#27848
frz replied on at Permalink Reply
frz
this is going to be hard because while you may have a field labeled "email" in your form, your form has not validated that to be an email and doesn't know that it even could be a reply to.

In the big picture I could see adding a field type to the form block to handle this.

today you're gonna have to hack some code.
AVL replied on at Permalink Reply
AVL
Looks like the new version of C5 forms has a built-in field type for email and it seems like this field is validated as an email.

Is it possible to set that field filled out by the form submitter to be the Reply To?

Can someone point me in the right direction for how to do this? I've tried messing with some of the form files without luck.

Thanks!
Amanda
tommyh replied on at Permalink Reply
tommyh
I too would like to know how to make it so that emails sent from the contact form are set so that when we hit reply it goes to the person submitting the form rather than the admin. Has anyone figured this out? Much help would be appreciated. :)
AVL replied on at Permalink Reply
AVL
Well, I just got this message from the extended form add-on crew:

*****************
Hi Amanda,

Yes, it is possible.

When there is a e-mailaddress field in the form, you can mark this by a checkbox "send a copy". If that is selected, the submitter will receive a notice of the submission and the admin (or a custom e-mailaddress) will receive a copy with the submitters e-mailaddress in the from tag of the mail.

Best,

Corretje
****************

So it sounds like this would allow you to hit Reply All to send to the submitter (as well as the form admin or custom email). I might give this a try.
tommyh replied on at Permalink Reply
tommyh
Hi,

Can not wait to get your results. Are you referring to the $30 Extended Form add-on?

The main thing for me is with a very simple form (Name, Address, Comments, Captcha, Submit)... My client just wants to hit reply on the email he receives and the message go to the form submitter only and not the admin too.

I look forward to your reply. Good luck!

Regards,
Tommy
AVL replied on at Permalink Reply
AVL
Yes - that's the one... I sent the info to my boss - we'll see if it's something we're interested in. I'll let you know how it goes if we end up getting it. :)
AVL replied on at Permalink Reply
AVL
Ok, so we're going to hold off for now on the extended form add-on. Good luck in finding a solution! It seems like there's a lot of interest in a feature like this, maybe someone will specifically write it?
AVL replied on at Permalink Reply
AVL
Ok, so I think I may have found something. See my post here:

http://www.concrete5.org/community/forums/customizing_c5/form_as_a_...
tommyh replied on at Permalink Reply
tommyh
Thanks a bunch for the information!
AVL replied on at Permalink Reply
AVL
You're welcome!