Hi ALL Can anyone tell me how can I use alert error messages without wiping out all the information that user has put in. eg. I have a form if user makes mistake inserting his/her password an error messages pop up (alert box) but it wipes out rest of the form too. Is there any way I can keep rest of the inserted information. Thanks Zed
Post your PHP code so people can have a look? Use the PHP ( ) Code to make it easier for people to see. PHP:
Use javascript to validate the input, if it doesn't validate 'return false'. Otherwise in PHP you can return the form with each field having value="<?php echo $_POST['name']; ?>" Code (markup):