javascript form validation

Results 1 to 2 of 2

Thread: javascript form validation

  1. #1
    Join Date
    Dec 1969

    Default javascript form validation

    I am trying to use javascript to perform form validation.<BR>It will not run if I include ACTION="somepage.asp"<BR>It will only run if I leave out the asp page in action.<BR><BR>&#060;form name="FrontPage_Form1" method="POST" action="registration.asp" onsubmit="return checkForm(this);"&#062;<BR><BR>Can I be shown how to make the onsubmit run the javascript and keep the action="registration.asp"?<BR><BR>thanks

  2. #2
    Join Date
    Dec 1969

    Default Action shouldn't matter

    I have to feel there is something wrong in your checkForm() code.<BR><BR>What happens if you omit the onSubmit but leave in the ACTION?? If that works, then the bug is surely in your checkForm code.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts