Response title
This is preview!
<script type="text/javascript" src="includes/jquery.js"></script> <script type="text/javascript" src="includes/scripts/jquery.fields.js"></script> <script type="text/javascript" src="includes/scripts/jquery.autotab-1.1b.js"></script> <script type="text/javascript" src="includes/jquery-validate/jquery.validate.js"></script>
<script type="text/javascript" >
$(document).ready(function(){ $("#insert_image").validate(); }); </script>
<FORM action="" method="POST" enctype="multipart/form-data" id="insert_image"> <fieldset> <p> <input class="required" name="_PROTOCOL" size="2" maxlength="10" /> </p> <p> <input class="submit" type="submit" value="Load"> </p> </fieldset> </FORM>
Thats the relevant part of the code.As you can see, Its a competely direct use, but no message like 'this field is required' is being shown.
thanks in advance
© 2013 jQuery Foundation
Sponsored by and others.