LifeRay creating a new type of aui validator
问题 I want to create a new type of aui validator. For example : <aui:input name="firstName" type="text" maxlength="40"> <aui:validator name="required" /> <aui:validator name="alpha" /> </aui:input> the alpha validator does not accept the space character, i want to use a type that accepts alpha characters plus the space character, i have already a solution using javascript to use a custom validator, but i want to define a new validator type to use like the others by invoking the validator tag e.g