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

from

string any

no

none

Minimum value.

to

string any

no

none

Maximum value.

exclusively

boolean

no

false

If 'false', when the value is same as 'from' or 'to', validator will accept.

message

string

no

none

Message that will be displayed in case of error.

Example

Code Block
themeEclipse
languagexml
linenumberstrue
<validatesRange from="1" to="10" />
<validatesRange from="0" exclusively="true" message="error.value.must.be.positive"/>
<validatesRange from="aa" to="bz" />