JaiL
03-31-2003, 04:35 AM
Hi all
i have a page where there are some fields that is needed to be filled in before sending back to server(im using Java programmin here).
And i do have some validation(Using JavaScript) so to check that all fields are needed to be filled in(at least not blank) before submit.
So here's the problem. when clicking the "Submit" button, Fields that are not filled will be alert. This is good:o , but, i do have another button which is "Back".. This "Back" button can be using anytime in that page(to previous page), whether the fields are filled or not. But, whenever i clicked on this button, validation alerts is alarmed.
How do i make these 2 buttons coordinate? they have to be in the same form..
Help urgently needed.. Thx all
i have a page where there are some fields that is needed to be filled in before sending back to server(im using Java programmin here).
And i do have some validation(Using JavaScript) so to check that all fields are needed to be filled in(at least not blank) before submit.
So here's the problem. when clicking the "Submit" button, Fields that are not filled will be alert. This is good:o , but, i do have another button which is "Back".. This "Back" button can be using anytime in that page(to previous page), whether the fields are filled or not. But, whenever i clicked on this button, validation alerts is alarmed.
How do i make these 2 buttons coordinate? they have to be in the same form..
Help urgently needed.. Thx all