Posted by Robertico on 11/14/03 11:21
Hi,
I created a mailform using a page with the form fields (main mail form) and
a php page with some php-code.
<form method="post" action = "result.php">
I added some validation to my form for the required fields and email
address.
When a required field is empty the results.php shows a message and the user
has the possibility to go back to the mailform (link back).
It's also used when sending succeeds.
But when an user goes back, the form is empty (alread filled fields are
empty again).
Now i'am looking for ((a)nother) possibility to solve this.
For example stay within the main mail form and set the focus on the empty
field (and/or change text color to red)
I prefer not to use some javscript, because javascript could have been
disabled .
Robertico
Navigation:
[Reply to this message]
|