FreewayTalk
2 replies to this thread. Most Recent
Mr worm
10 Sep 2010, 9:27 am
PHP FEEDBACK FORM - ATOMZ?
On my site I have a PHP Feedback form.
I also have a search function via Atomz.
When I submit my form, the resulting mail comes in like this:
The following information was submitted from a form on www.domain.co.uk:
sp q:
First Name: test
Last Name: test
Job Title: test
Company Name: test
Method of contact: Email
Email: email@hidden
Telephone Number: test
Register Form: Submit
sp a: sp100457ef sp f: ISO-8859-2 sp p: all
Is there a way I can still have this Search facility, but not have the details appear on the Feedback form?
I know they are, in the form setup, under hidden fields - can you hide these fields from the submitted form though?
Worm
Tim Plumb
10 Sep 2010, 11:00 amDear Mr Worm, It sounds like you have the PHP Feedback Form action applied to the page. This will normally work but in your case where you have another form in there too the form is submitting both your feedback form and Atomz form data both at the same time.
Your page code will also be invalid as well as you’ll have a form inside another form.
To fix this simply remove the PHP Feedback Form action from the page and apply it to the parent item of the feedback form - a table or html box that encloses all of this form’s items. By doing so the action will wrap just these items in the correct form elements required to submit just this data.
If you get stuck post a link and I’ll take a closer look at the page. Regards, Tim.
On 10 Sep 2010, at 10:27, Mr worm wrote:
On my site I have a PHP Feedback form.
I also have a search function via Atomz.
When I submit my form, the resulting mail comes in like this:
The following information was submitted from a form on www.domain.co.uk :
sp q:
First Name: test
Last Name: test
Job Title: test
Company Name: test
Method of contact: Email
Email: email@hidden
Telephone Number: test
Register Form: Submit
sp a: sp100457ef sp f: ISO-8859-2 sp p: all
Is there a way I can still have this Search facility, but not have the details appear on the Feedback form?
I know they are, in the form setup, under hidden fields - can you hide these fields from the submitted form though?
Worm
FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro. ………………………………………………………………………… Protect your mailto links from being harvested by spambots with Anti Spam. Only available at FreewayActions.com ………………………………………………………………………… http://www.freewayactions.com
