fields Archive
-
Old-New Probleam: JQuery Validator and Optional Fields
Posted on October 6, 2011 | No CommentsI have an optional field (say “text1″) which may either be blank or only alpha-numeric: jQuery.validator.addMethod("onlyAlphaNumeric", function(value, element) { var regExp = new RegExp(/^[a-zA-Z0-9]+$ /); return ((this.optional(element)) || regExp.test(value)); }... -
How to show jquery form validation plugin errors below the form fields
Posted on October 1, 2011 | No CommentsI am using jQuery form validation plugin to verify the form.. It is working perfectly.. But problem is that it is showing error message next to form field in the... -
Populate a JSON file with Rails fields in Profile.all
Posted on September 29, 2011 | No CommentsI’m using jQuery Tokeninput for tags in my Rails app. I have never dealt with JSON before (I’m new to programming) but I was wondering if there was a way... -
Using jQuery to resize all editable fields in grid
Posted on September 16, 2011 | No CommentsI have a RadGrid on one of my webforms, and I’m using InPlace (inline) editing, with an empty row at the bottom for inserts. When the grid loads, the columns... -
default values in input fields getting past validation on submission
Posted on September 15, 2011 | No CommentsI wrote a small validation script (partially as an exercise in learning) but I can’t figure out how to make it detect default values in the input fields. It seems...