Twitter Bootstrap required validation not working -


i'm having difficulty getting twitter bootstraps jqbootstrapvalidation.js work. have included file , have managed validation working on input of form regular expression, field in form trying validate @ moment should simpler : i'm validating required field.

the html

<textarea class="input-xxlarge" id="desctextarea" rows="2" required="required" data-validation-required-message="you must complete description"/> <p class="help-block"> 

i've used required without "=required"

and javascript have tried

$(#desctextarea).not("focus").jqbootstrapvalidation(); 

and lot of other variations .not("blur") or .on("focusout") or .on("focus") , on , on.

the desired behaviour when user clicks out of field , if field empty validation fail , validation failed message appear in help-block.

any ideas i'm going wrong?

thanks (oh , way - .not() mean?) again.

linda


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -