Re: Javascript style we have used for validating alphanumeric and spaces are not allowed

2012-07-12 Thread Ankit Jain
Please ask these questions on User Mailing List (u...@ofbiz.apache.org) Regards, Ankit Jain On Wed, Jul 11, 2012 at 4:26 PM, Raghu Chandra wrote: > Hi., > > i am raghu here, can any one please tell me what is the widget-style ="" we > will use > for validating only alphanumeric non space. > >

Re: Javascript style we have used for validating alphanumeric and spaces are not allowed

2012-07-11 Thread Himanil Gupta
Hi Raghu, 'widget-style' are used to apply css to the widget that the user will interact with, for field. Instead you can use 'event' and 'action' attributes to achieve the required functionality for field. e.g. 1- event="defineEventType" action="javascript: function definition"> 2- event="def

Re: Javascript style we have used for validating alphanumeric and spaces are not allowed

2012-07-11 Thread SAURABH SINGH
If you are using in the script . use thi function function alphanumeric(value,field){ var alphaExp = /^[0-9a-zA-Z]+$/; var input = alphaExp.test(value); if(value == "") { return true; } if(input == true) { return true;

Javascript style we have used for validating alphanumeric and spaces are not allowed

2012-07-11 Thread Raghu Chandra
Hi., i am raghu here, can any one please tell me what is the widget-style ="" we will use for validating only alphanumeric non space. Thank you. - Raghu