Hey all,
Using Jorn's Validation plugin, it's not displaying the error message. I
must be missing something obvious. I'm just trying a test - it seems like
when I submit, if the field is empty, it should display an error message
after the input field. What am I doing wrong?
JS:
$("#editform").validate({
rules: {
FirstName : "required"
},
messages: {
FirstName : "Please enter your first name."
},
debug: true
});
Markup:
<input type="Text" size="30" name="FirstName" id="FirstName" value=""
class="formfield" maxlength="50">
-- Josh