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

CMPT165-Error Checking.docx

1 Page
155 Views
Unlock Document

Department
Computing Science
Course
CMPT 165
Professor
Colin Stewart
Semester
Winter

Description
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


OR

Join OneClass

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

Sign up

Join to view


OR

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.


Submit