httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajeev Prasad <rp.ne...@yahoo.com>
Subject Re: [users@httpd] inline form checking using jquery.
Date Wed, 14 Sep 2011 23:25:37 GMT
thanks all,
 
i've figured this now.
 
 

From: Rajeev Prasad <rp.neuli@yahoo.com>
To: "users@httpd.apache.org" <users@httpd.apache.org>
Sent: Wednesday, September 14, 2011 5:22 PM
Subject: [users@httpd] inline form checking using jquery.


hello,

>>>>>>>>>>sorry to post this in apache forum, but for days i
have got no response on this on htmlhelp.com forum.<<<<<<<<<<<<<

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.

article I am using: http://www.position-absolute.com/articles/...tion-is-a-mess/


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>
Mime
View raw message