An important aspect of creating Web Forms pages for user input is to be able to check that the information users enter is valid.
Functionality: Workshop 10 is CSU Registration Form - PHP program that grants an easy-to-use but powerful way to check for errors and, if necessary, display messages to the user.
When the user submits a form to the server, PHP code is invoked to review the user's input.
If an error has occurred in any of the input controls, the page itself is set to an invalid state (validation failed) and user is redirected back to the form page with displayed error messages.
If validation passed, user’s registration details specified on form processing page are invoked. Thus, this program doesn't change HTML forms behavior except it always redirects user to the form page until user enters fully valid data.

No comments:
Post a Comment