Non Gamstop CasinosNon Uk Casino SitesBest Non Gamstop CasinosNon Gamstop Uk SitesCasinos Not On Gamstop

Cut down Flex in a Week

Watch the videos, indicated by the icon;
then do the exercises indicated by the icon.

You should do all of these before the timetabled workshop so that you can do the independent task at the end of this page during the workshop with the lecturer.

Section 4: Validating and formatting data

Independent Task

This task you can do in class if you want having first followed the videos and exercises above in your own time.

  1. Implement code that formats phone numbers appropriately, assume English style phone numbers with optional parens around the area code and spaces between sets of numbers.
  2. Create a validator that will prevent the user from entering a blank surname or forename, or a surname or forename with fewer that two characters.

Summary

There are a couple of extra pages linked to below, which contain optional topics you can cover if you want to. They are largely, though not exclusively, about things to make your application look better and behave in a slicker more professional manner —do them if you want to.

Quality sites