[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Validation form of JavaScript.

Posted on 2001-07-10
7
Medium Priority
?
148 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…

650 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