Thursday, 15 July 2010

javascript - bassistance validation not working -



javascript - bassistance validation not working -

have unusual problem on validating forms:

i'm including validator-script in heading of page

<script src="http://engine.andvla.eu/engine/scripts/validate.min.js" type="text/javascript"></script>

here's form:

<form class="editingform" id="managepage" name="managepage" action="" method="post"> <div class="editingformcontent"> <div class="formrow text"> <label class="title" for="text_name">name</label> <input type="text" id="text_name" name="text_name" class="small required" value="" required/> </div> <div class="formrow largetext"> <label class="title" for="largetext_content">content</label> <textarea type="largetext" id="largetext_content" name="largetext_content" class="wysiwyg" > <p>hello world</p> </textarea> </div> </div> <div class="formnavigation"> <input type="submit" class="small greenish button save" value="save" /> <a href="http://localhost/engine/admin/" class="small lightgray button close">cancel</a> </div> </form>

declaration of validation script:

$(function () { $('form').validate(); });

there no errors displayed in console of firebug. more... forms gets novalidate attribute after page loaded.

is there wrong on form? never got problems on implementing validator, sitting here 2 hours staring on screen

and 1 more question. utilize validation bassistance. there improve script that?

thanks in advance help...

javascript jquery html validation

No comments:

Post a Comment