Hello everybody!
As I'm not an expert in php, I'm having some problems about creating a contact form.
I have the following form:
<form action="invio.php" method="post" enctype="multipart/form-data" name="modulo">
<input type="text" name="name_lastname" size="25" class="Text">(requested)
<input type="text" name="city" size="21" class="Text">(requested)
<select name="country" class="Text">(requested)
<option value="" selected>Scegli il paese</option>
(lots of options tags....)</select>
<input type="text" name="email" size="55" class="Text">(requested)
<input type="text" name="phone" size="31" class="Text"> (not requested)
<input type="text" name="subject" size="96" class="Text">(requested)
<textarea cols=95 rows=8 name="comments" class="Text"></textarea>(requested)
<input name="submit" type="submit" value="Invia">
<input type="reset" value="Cancella">
</form>
I would like to:
- Error messages appear as a pop up window if the requested camps were not filled.
- Validate the form sending the informations to my e-mail
- Redirect the user to the "Thank You" page.
Does anyone can help me?
I would be really glad.