Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
How do I create a contact page so customers can type their name, address and so on? |
||||
|
You can use this tutorial here: http://www.ambiera.com/websitepa... |
||||
|
I'm sorry! What i need write in the code to send the survey form is not until you put something in the field. $text = ""; foreach($_POST as $name => $value) { $text .= "$name : $value\n"; } if ($text != "") { echo '<div style="color:45007F; font-size:12pt;"><font face="Tahoma" style="font-size: 14pt; background-color: FFFF00">Thanks!</font></div></body> '; mail("test@mail.lv", "$number", $text); } |
||||
|
Was this a question? If so, I didn't understand it :) |
||||
|
I'm sorry, how i can make, that the form did not send the message until the field is not filled. |
||||
|
You would have to validate the field, either with PHP or JavaScript. This would involve some programming, though. |
|