ValidCharactersConstraintInfo

Name ValidCharactersConstraintInfo
Usage DataDictionaryService
AttributeDefinitionInfo
Type Complex

Description

Constraint that applied a regular expression to check if the
characters are valid

Structure Definition

ShortName Name Type Description Required? Read only? Cardinality XML Attribute? Implementation Notes
jsValue Java Script Value String Javascript version of the regex defined in value. This does
not have to be set if this constraint's key maps to one of the
default valid character methods contained in jQuery - (insert
that list here). This must be set if there is NO default
method that matches the label key and applyClientSide is true.

This is completely ignored if applyClientSide is set to false.
    One No  
value Value String The Java based regex for valid characters
There are two forms:
regex:xxxxx
and just: xxxx

If the 2nd form then it is interpreted as a simple list of valid characters.
Note: it is actualy converted to a regular expression by wrapping it in [].
    One No  
isApplyClientSide Is Apply Client Side Boolean If this is true, the constraint should be applied on the client
side when the user interacts with a field - if this constraint
can be interpreted for client side use. Default is true.
    One No  
labelKey Label Key String LabelKey should be a single word key. This key is used to find
a message to use for this constraint from available messages.
The key is also used for defining/retrieving validation method
names when applicable - as such this key MUST exist for valid
character constraints.
    One No