Members
10 posts
0 warning points
Posted Today, 01:12 PM
I have a sample HTML that I have copied from the website - I want to output the result of these two checkboxes to two more checkboxes that reflect the results .
How do I do this ?
<!DOCTYPE html>< html>< body>
<form action="demo_form.asp" method="get"> <input type="checkbox" name="vehicle" value="Bike"> I have a bike<br> <input type="checkbox" name="vehicle" value="Car" checked="checked"> I have a car<br> <input type="submit" value="Submit">< /form>
</body>< /html>
so I want the results are 'Car' with the checkbox displayed
and 'Bike' with the checkbox displayed
Thank you