Exam-style question
Try this first
Which validation method ensures a number is between 1 and 100?.
- A.Presence check
- B.Range check
- C.Format check
- D.Character check
Answer and explanation
Concise answer
Range check
Why this is correct
Range check limits numeric input to a specified range, such as 1 to 100.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
