Regexp:NaturalNumber

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search
id NaturalNumber
regexp /^[0-9]+$!^$/
base type
inverse
message Must be a number
or char !
base prefix

Regexp


Accepts a natural number or nothing. To make input mandatory set the Property:Property mandatory to true.