You need to figure out how to make the form interactive. You have decided on this initial idea, presented as pseudocode in your Criterion C document:
if proof_of_identity checked then
count how many text boxes are blank
if count is zero then
display Registration complete
else
display error list
end if
else
display identity not checked
end if
Note how useful it can be to plan your solution in pseudocode before you start actual coding. This is an example of THINKING AHEAD!
Code this prototype. Here is a suggested video solution if required.
*note we are considering this a proptotype because it will give the user the look and feel of the form in action, but it does not yet deal with the file handling.
Data Validation
Data validation is when data entered into a system is checked for validity. The common checks are:
Mobile numbers in this country always start with 0 (format check) and are always exactly 9 characters long (length check).
Adapt your solution to display an appropriate error message if an invalid mobile number is entered.
Data Validation
A range check is necessary on the age field.
Only people who are 16 or older are allowed in the cafe.
Can you figure out how to test if a new member is less than 16 years old and display a warning message if this is true?
This task is optional...
... but a good test of your problem-solving skills!
iterative cycle client survey observe stakeholder