What code would I use to have the user type in a number between 18 and 120 for their age?
Something like:
agetextfield must be = to a number between 18-120
If they type in a string that is not a number, alert the user "Please enter Age as a numerical value e.g 19".
If they type in a number less than 18, alert the user " User must be over the age of 18"
If they type in a number greater than 120, alert the user " User Must be between the ages of 18 and 120.