Class Notes (836,147)
Canada (509,656)
CMPT 165 (21)

CMPT165-Error Checking.docx

1 Page
Unlock Document

Computing Science
CMPT 165
Colin Stewart

Error Checking Heres a portion of a web script that handles a form nameformnamevalue ageformagevalue If we fill in the textboxes and click the submit button well get a different webpage But if we dont fill in either textbox well get a script error When a textbox or other control isnt filled in by the user it isnt sent to the web script So if it isnt filled in the script doesnt think it exists To avoid crashing when a user doesnt fill in a textbox we can first check to see if the textbox exists Then we can give the user a nicer easytoread error message instead of a hideous red screen filled with indecipherable messages The red screen error messages are f
More Less

Related notes for CMPT 165

Log In


Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.