- Posts: 58
- Thank you received: 9
Ask the community, share ideas, and connect with other LimeSurvey users!
regexMatch('/^([1-9][0-9]{0,3}|9{5}[8-9])$/', self)
{if(is_empty(self) || regexMatch('/^([1-9][0-9]{0,3}|9{5}[8-9])$/', self), '', 'Error: Please enter a number between 1 and 9999 or 999998 or 999999')}