Posted on 2003-10-27
I have a question about a simple form on a page called pizza.asp.
<form name="formPizza" action="pizza.asp">
<input type="checkbox" value="Pepperoni">Pepperoni<br>
<input type="checkbox" value="Onion">Onion<br>
<input type="checkbox" value="Mushroom">Mushroom<br>
<input type="submit" name="submit" value="Submit">
You have selected the following items for your pizza:
How do I get the values for the checkboxes checked to display below the form? Do I use post or get for the method? The user should be able to clear the previously checked boxes too and select new ones. Clicking on the submit button will then display their new results.