returning field value in email

Issues related to forms.
Post Reply
betwixt
Posts: 101
Joined: Mon Nov 25, 2013 3:49 pm

returning field value in email

Post by betwixt »

My apologies because I'm sure I asked this before but I can't find the post with the answer in it.

I'm trying to include a hidden field in a form. With a constant value or text in the "Value:" field it is sent perfectly. What I'm trying to do is return the value entered on the standard contact form in the "captcha_answer" form.

For example in the form designer under "Hidden Fields"
Name: The contents of the CAPTCHA box were
Value: <what the user entered in the 'captcha_answer' box>

So if the user entered 'Monday' in the captcha answer field it would add the line " The contents of the CAPTCHA box were: Monday.

I think the advice before was to add a php echo command but I can't remember exactly what it was.

Brian.
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: returning field value in email

Post by Pablo »

The built-in script will remove the captcha from the data, because most users do not want this.
If you need different behavior then you will have to implement your own form processing script.
betwixt
Posts: 101
Joined: Mon Nov 25, 2013 3:49 pm

Re: returning field value in email

Post by betwixt »

Thanks Pablo.
I tried everything I could think of, glad to know it isn't my coding that stops it.

Brian.
Post Reply