The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> jquery inline form validation not working
rp.html
post Sep 11 2011, 01:11 AM
Post #1


Newbie
*

Group: Members
Posts: 14
Joined: 1-September 11
Member No.: 15,302



hello,

plz refer: http://www.position-absolute.com/articles/...tion-is-a-mess/

I am trying to setup form validation as explained in this article. I am not sure what am i doing wrong, this is not working...coz i am able to pass null values etc.

i am getting no error.


as far as i understood from this post. i added following to my header:

<script src="/jscript/jquery-1.6.1.min.js" type="text/javascript"></script>
<script src="/jscript/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8"></script>
<script src="/jscript/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>

<link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css"/>


and my form is like this:

<div id="formcontainer" style="height:350px;margin-left:auto;margin-right:auto;">
<form name="longstring_parser" method="post" action="/cgi-bin/process_form_cgi_validate.pl" onsubmit="return Validator(this);">
<div id="longstring_parse_setlist">
<b>Available longstring_reports:</b>
</div>

<div id="rawlongstring" >
<b>longstrings to parse (one in each line/ no blank lines):</b><br/>
<textarea value="one longstring_ in each line" class="validate[required]" type="text" name="longstring_list" id="longstring_list" rows=5 cols=150></textarea>
<p>
<b>give a file name to save with:</b>
<input value="to_file_name" class="validate[required]" type="text" style="width:350px" name="outfile" id="outfile" />
<p>
</div>

<div >
<input type="submit" value="Parse">
<p>
</div>

</form>
</div>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 05:37 PM