Question: Write a Form (HTML) Write a form to allow a person to subscribe to a magazine. That form should ask for the following information: Name
Write a Form (HTML)
Write a form to allow a person to subscribe to a magazine. That form should ask for the following information:
Name
Snail Mail Address with separate street, town/city, state, and ZIP code boxes.
Which of the following magazines (can be more than one) the person wants to subscribe to: Newsweek, Time, Sports Illustrated, Internet World (just had to get a related magazine in there :-).
How to pay (bill by mail, pay by credit card online)
If by credit card online, the Credit Card (Visa/MasterCard/Discover), the credit card number, and the expiration date.
Use the CGI alternative mentioned in the Forms module:
Know the difference between a checkbox and a radio button. With checkboxes, you can select one or more items, while a radio button should permit only a single selection.
Test the form before submitting! If nothing shows up in the results page, something is wrong with the form. Check the form again to ensure correctness. If something seems awry and you can't find the problem, post it anyway to see if we can help!
Use a table to align the components of the form and to make it neat.
Tip:
You might create and test the form first to make sure it works, then build the table around it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
