Search

1 of 8 0-day streak

Validation rules and accurate data

DIFFICULTYintrostandard

This is a fixed question bank. Later sets may repeat these questions

Question 1 of 8

No calculator

A demonstration count field uses these fixed validation rules

First remove surrounding spaces, then check in this order and stop at the first failure: presence requires at least one character; format requires only digits 0 to 9; range requires the resulting numerical value to be from 1 to 12 inclusive. Leading zeros are allowed

Entered text: "13". The quotation marks delimit the entry and are not part of it

1 mark

Which is the first failed check, or does the entry pass all three?