CSU - DCE Webmaster I HTML - Forms - Fort Collins, CO Copyright © XTR Systems, LLC Designing Web Sites using HTML - Introduction to Forms Instructor: Joseph DiVerdi, Ph.D.
CSU - DCE Webmaster I HTML - Forms - Fort Collins, CO Copyright © XTR Systems, LLC An Example Form
CSU - DCE Webmaster I HTML - Forms - Fort Collins, CO Copyright © XTR Systems, LLC Form HTML Ice Cream Survey Ice Cream Survey What is your favorite flavor of ice cream? Vanilla Strawberry Chocolate Other If you would like to see the current results, click here.
CSU - DCE Webmaster I HTML - Forms - Fort Collins, CO Copyright © XTR Systems, LLC Form HTML (Continued) The previous script does nothing An "action" is required Normally a CGI script is used for the action We will examine this further when we study CGI and Perl Programming
CSU - DCE Webmaster I HTML - Forms - Fort Collins, CO Copyright © XTR Systems, LLC Form HTML (Continued) can be used to collect Form data This will send an message containing the form's contents in the following form: ice cream=vanilla
CSU - DCE Webmaster I HTML - Forms - Fort Collins, CO Copyright © XTR Systems, LLC Form HTML (Continued) No feedback to viewer - unacceptable Here's a taste of JavaScript (Event Handler) A dialog box appears on the browser's window