Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

name

type

required

default value

description

min

integer

no

none

Minimum value.

is

integer

no

none

Exact value.
When this option is definied, it overwrites 'min' and 'max' options.

max

integer

no

none

Maximum value.

message

string

no

none

Message that will be displayed in case of error.

Example

Code Block
themeEclipse
languagexmlthemeEclipse
linenumberstrue
<validatesLength min="1" max="3" />
<validatesLength min="5" message="error.login.must.be.at.least.five.letters.long" />
<validatesLength is="8" message="error.password.must.have.eight.letters" />