?
Solved

Validation form of JavaScript.

Posted on 2001-07-10
7
Medium Priority
?
145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 15

Accepted Solution

by:
a.marsh earned 200 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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…
Suggested Courses

752 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