php contact form
- Started
- Last post
- 9 Responses
- jonffanak
Form is validated and works - except for the emails I receive never have any content in the message field. Can anyone see a problem in my code?
- jonffanak0
anyone?
- beautiful0
I donĀ“t see a problem there, sorry bro.
- prophet0
i assume the contactformprocess.php references the message field as 'message'? and not anything else? ie: 'comments'...
- acescence0
can't give you an answer if we can't see the php
- jonffanak0
this is the script
i think prophet might be onto something but i cant find a problem
- prophet0
<textarea name="message" cols="33" rows="8" id="message" onblur="MM_validateForm('name','','R','email','','RisEmail','message','','R');return document.MM_returnValue"></textarea>
becomes...
<textarea name="message" cols="33" rows="8" id="comments" onblur="MM_validateForm('name','','R','email','','RisEmail','comments','','R');return document.MM_returnValue"></textarea>
- welded0
Close. Change the name value to 'comments' not the ID.
- jonffanak0
yup changed the name value and it finally works...now the clients will start rolling in! thanks very much for your expertise people...