I have an input box named "title".
I want the user to only enter 35 words not more than that.
<input name="title" id="title" class="event-name gui-input" placeholder="Title" type="text">
<script type="text/javascript">
/* <![CDATA[ */
jQuery(function(){
jQuery("#title").validate({
expression: "if (VAL) return true; else return false;",
message: "Please enter Title"
});
});
</script>