Solved

Validation form of JavaScript.

Posted on 2001-07-10
7
138 Views
Last Modified: 2010-05-18
Dear sir,
      I have a problem in my project.There are severel
ways of validation form.I have also make a validation my own way.That is successful.but, while i add this form in my Housing_loan Plan.It shows error.It doesn't validate form.I put like this after write down the function validation,on the <Body> onSubmit="returnValidate()".
But also, it cannot run.I hope that you can help me in my project.
                               Your faithfully
                                Limbu,Bhagiraj.

0
Comment
Question by:sailung2002us
7 Comments
 
LVL 15

Accepted Solution

by:
a.marsh earned 50 total points
ID: 6269673
We would need to see your code.

However based on your question are you saying that you put the onSubmit in the <body> tag?

If so then it should not go there - it should go in the <form> tag.

:o)

Ant
0
 
LVL 3

Expert Comment

by:davlun20080
ID: 6269993
And if your validation function is returning either true or false, to indicate whether or not to submit the form then you would need to have something like this:

<form name="myFormName" action="someAction.htm" onSubmit="return validateForm()">

0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6270085
They've already got the "return" in there......

:o)

Ant
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:davlun20080
ID: 6270176
Ooops.... I read that as "returnValidate()" as a function name, not "return Validate()" with a space.  It did not look like there was a space there.

davlun
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6282313
Any feedback on this sailung2002us?

Ant
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7095268
DO NOT AWARD POINTS TO THIS COMMENT_________________



hello,
this has been abandoned. moderators will soon deal with this thread.
experts please post closing comments and recommendations for the
moderator to work on. thankyou.
lexxwern



__________________________________________________END

RECOMMENDATION_________________



points to a.marsh



______________________________END
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7101820
Thank you for your help here, lexxwern , this has been finalized today.

Moondancer - EE Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now