Solved

Validation form of JavaScript.

Posted on 2001-07-10
7
137 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
Comment Utility
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
Comment Utility
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
Comment Utility
They've already got the "return" in there......

:o)

Ant
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 3

Expert Comment

by:davlun20080
Comment Utility
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
Comment Utility
Any feedback on this sailung2002us?

Ant
0
 
LVL 12

Expert Comment

by:lexxwern
Comment Utility
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
Comment Utility
Thank you for your help here, lexxwern , this has been finalized today.

Moondancer - EE Moderator
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

772 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