Home:ALL Converter>How to set case insensitive regexp for validationtextbox inside data-dojo-props

How to set case insensitive regexp for validationtextbox inside data-dojo-props

Ask Time:2012-09-21T22:33:16         Author:user1688971

Json Formatter

I'm using dijit validation textboxes for one of my forms and need to setup a regular expresssion that would allow either a "n/a" value or a URL. I have the regular expression working, but it does not accept uppercase values. Does anyone knows how could you do that through the data-dojo-props, or would I need to add a custom validator.

Thanks!

Author:user1688971,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/12532611/how-to-set-case-insensitive-regexp-for-validationtextbox-inside-data-dojo-props
yy