WEBVTT

1
00:00:02.900 --> 00:00:09.180
A Stop alert is set for whole
numbers one through 10; typing 20?

2
00:00:11.630 --> 00:00:14.776
A configured Stop alert blocks
acceptance of the typed 20.

3
00:00:15.776 --> 00:00:18.085
Validation checks typed
input against a rule,

4
00:00:18.085 --> 00:00:20.745
for example a whole-number
range or a permitted date.

5
00:00:20.745 --> 00:00:24.760
It does not establish whether an allowed
value agrees with the source document,

6
00:00:24.760 --> 00:00:27.270
and copying or pasting can
require further checks.

7
00:00:28.270 --> 00:00:30.172
The textbook sets
a whole-number rule between one

8
00:00:30.172 --> 00:00:32.222
and 10 and configures a Stop error alert.

9
00:00:33.619 --> 00:00:35.811
Enter the bounds
and a clear input message,

10
00:00:35.811 --> 00:00:37.605
then test the endpoints one and 10.

11
00:00:39.455 --> 00:00:41.310
When 20 is typed, the Stop alert appears.

12
00:00:41.310 --> 00:00:44.610
Check the alert style, then compare
accepted data with its source.

13
00:00:46.030 --> 00:00:48.680
Watch out for choosing a warning
that permits continuation

14
00:00:48.680 --> 00:00:51.180
when this exercise requires
a blocking Stop alert.

15
00:00:51.926 --> 00:00:52.682
Your turn.

16
00:00:52.682 --> 00:00:58.882
Keep the one-through-ten rule and change
only the typed entry from 20 to 5.

17
00:00:58.882 --> 00:01:00.470
Is the entry allowed?

18
00:01:04.420 --> 00:01:08.518
Remember to test the rule and still
compare accepted data with its source.
