home

ValidCharactersConstraintInfc

Name ValidCharactersConstraintInfc
Version ???
Usage DataDictionaryService
AttributeDefinitionInfo
Type Complex

Description

Valid characters constraint

Structure Definition

ShortName Name Type Description Cardinality XML Attribute? Comments/Feedback
value ??? String The Java based regex for valid characters
There are two forms:
regex:xxxxx
and
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 ???
jsValue ??? 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 ???
labelKey ??? 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 ???
applyClientSide ??? 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 ???