Salve a tutti e buona domenica, vi volevo chiedere un info riguardo ad un form in html, e possibile aggiungere una funzione che dopo aver inviato i dati sia con esito positivo che negativo il form si ricarica in automatico ad un nuovo rinserimento di dati, spero di essere stato chiaro e mi scuso se non sono stato, vi allego il form.
se gentilmnte potete indicarmi cosa modificare.
grazie
Codice HTML:<!DOCTYPE html> <html lang="it"> <html> <head> <style type="text/css"> .style1 { color: #FF9900; } .style2 { font-family: "Comic Sans MS"; color: #FF9900; background-color: #FFFFFF; } </style> <div id="form_container"> <img alt="" src="banner%20form.png" width="300" height="63"><link rel="stylesheet" type="text/css" href="view.css" media="all"><script type="text/javascript" src="view.js"></script><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title></title><meta name="description" content=""><meta name="keywords" content=""><meta name="author" content="RestareInformati"><meta name="generator" content="Notepad"></head><body><form id="forminvio" method="post" action="inviomodulo.php"> <fieldset> <label><span class="style1"><strong>Categoria: </strong></span> </label><br> <label> <select class="element select small" id="categoria" name="categoria" required> <option value="pizzeria"> pizzeria</option> <option value="bar"> bar</option> <option value="ristorante"> ristorante</option> </select></label><br>[/left] <label><span class="style1"><strong>Titolo:</strong></span> <input type="text" class="text" name="titolo" size="40" maxlength="255" id="titolo" required> </label> <br><br> <label><span class="style1"><strong>Commento: </strong></span> <textarea name="commento" cols="30" rows="5" id="textarea" required></textarea> </label> <br><br> <form enctype="multipart/form-data" action="inviomodulo.php" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="30000"> <span class="style2"><strong>Invia foto/video:</strong></span> <input name="userfile" type="file"> <input type="submit" value="Invia File"> </form> </body> </html>

LinkBack URL
About LinkBacks
