Secondary 4
PROBLEM SETS, REVISION SETS
OTHER SCHOOL PAPERS, PRELIM PAPERS, GCE PAPERS
Visit and subscribe theCPAtube. Complete all HBL assignments on SLS & GC.
PROBLEM SETS, REVISION SETS
OTHER SCHOOL PAPERS, PRELIM PAPERS, GCE PAPERS
STUDY SLIDES
Slides 10-1 Data Validation
Slides 10-2 Data Validation CCA Form
...
Test Yourself
Refer to Textbook for further details.
...
There are 3 types of Data Validation:
(a) length check;
(b) range check; and
(c) type check.
2 Types of Error Messages
Messages may be displayed to give instructions or feedback to the users.
An error message can be displayed if an invalid data is entered.
There are 2 types of error messages:
In the spreadsheet software (MS-Excel), data validation can be configured by
(a) providing a list of choices (drop-down list); or
(b) defining the types of input data (setting criteria).
To create a data validation check for a single cell or a range of cells, we simply have to
Length check determines the length of the data and make sure that it is not too short or too long.
example: You require a password of 5 characters only
A range check determines whether the data entered falls within a specified range.
example: the user needs to enter a text between 5 and 8 characters.
A type check determines the type of data that can be entered, like date, whole number or decimal number in the cell.
example: user is required to enter to enter a date for birthday.
Messages may be displayed to give instructions or feedback to the users.
An error message can be displayed if an invalid data is entered.
///
Types of Error Messages
See images below.
In this assignment, you will set the data validation for a CCA Form.
In this assignment, you will create your own CCA Form and set the data validation.
// You may need to include the "Input Messages" & "Error Alert" to assist the user of your form.