quote:
Originally posted by Volv
That is what matty's code does, it checks if the textbox is empty.
You could also/alternatively add a check in your PHP code:
code:
if ($_POST['t1'] == "") {
// error
} else {
// continue
}
thats a good solution, i didnt even think that way around.