|
||||||||||||||||||||||||
| CTL Main | Workshops | Software/Hardware | Centers | Tutorials | ||||||||||||||||||||
|
Web Page Forms
|
Practical Uses
Forms - Dreamweaver - a software option What kinds of forms and quizzes can I create?
How do I create one ? Create one from scratch or use a template.
Customizing the template Open a template quiz from the above selections. Click ona button, box or field and and you will be able to see the parts described below. Indicate the Form Action Using your webpage editor (Dreamweaver) click on the thin red line that encloses the quiz. or click <form> in the bottom status bar or your window.
Enter: http://www.smccd.net/common/mail.asp into the Properties dialog box.
Labeling Forms Text Fields & Text Forms Label each "text field"or "text area" with a unique name. (lower case; no spaces)
Radio Buttons & Checkboxes
Send forms require 1) Name and 2) Checked Value information.
Self-check forms require 1) Name, 2) Checked Value and 3) Tag editing Open this quiz and click on any radio button and and you will be able to see these values in the Properties window. mulitiple choice Click on the Edit Tag and you will see our special "onclick" action that does the "checking" in the self-check quizzes.
onclick="(form.hints1.value='*Campus resources centers are available on all three campuses.')"> Which means = show this sentence '. . .' in hint box 1 whenever the user clicks my radio button. *When entering text in the value= line, do not use: ' "( ) & as part of your text. To use a single quote or apostrophe as is found in the word don't , enter a backslash before the apostrophe: don\'t The backslash tells JavaScript to treat the following character, the single quote, as a literal, that is, as nothing more than a quotation mark, and not to treat it as a closing quote.
Adding Other Form Objects Additional buttons, radios, boxes and text fields can be added using "Insert" in your file menu.
SMCCD Server Form Actions Within our district, the following form actions can be used to create a server-side form which doesn't require the user to have a configured email client. This works well with AOL users too. Form action http://www.smccd.net/common/mail.asp as the form action Add two hidden fields (for "Send" forms)
Hidden Field 1 Name = to Value= (your email address) smithj@smccd.edu (no "mailto" needed) Hidden Field 2 Name = redirect Value= http://www.smccd.net/accounts/yourname
Optional: Other hidden fields can be added at the top of the quiz to indicate assignment name and type, due date, answers to questions, etc. Hidden Field 3 Value= Homework Value= Chapter 3 Review
|
|||||||||||||||||||||||
|
||||||||||||||||||||||||
Centers for Teaching and Learning San Mateo County Community College District