NON MANDATORY field should be validated as alphanumeric only if entered

2008-01-08 Thread mj123
I have two fields which are NOT MANDATORY but if entered its should be vaidated as alphanumeric how will i do this if I use ValidField as the component type it will display error if i don't enter anything... "You must enter a value for [SOME NAME]". which i don't want but if I enter something i

Patternstring for Email validator

2008-01-09 Thread mj123
I need a Regular expression that will validate an email adrress entered Currently I am using "[EMAIL PROTECTED],4}$" which is not doing the job it should follow these rules /** * Is the specified email valid? Checks against that the following rules * are complied with: * *

PatternValidator to allow Uppercase characters only

2008-01-07 Thread mj123
Hi I am using a ValidField component, the requirement is to allow the field to save only UpperCase letters The issue I am having with following code is its not raising validation error if the first letter is a uppercaseletter eg: if i enter B12344 its not raising validation error but for 454A it