Question:

Question about the onSubmit function ...

by Guest55569  |  earlier

0 LIKES UnLike

I am using dreamweaver ...

I have set up to have a form validated onSubmit once it is validated I want the user to be taken to another webpage.

What is happening is the the form is being validated, but even if it finds errors the user is still being sent to the next page.

How do i get it to stay put until errors are fixed?

My existing code is below.

Thanks !

<form action=""method="post" name="Workshops" id="Workshops"

onSubmit="MM_validateForm('First Name','','R','Last Name','','R','email','','RisEmail');MM_g... document.MM_returnValue">

 Tags:

   Report

1 ANSWERS


  1. I can not say for certain from this code, but I do have my sneaking suspicions. E-mail me the code (all java-script and all form code) and I will check it out further.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.