Hi… I’m new to JS, so forgive me if my question is too elementary. We have an order form and we have to use CHECK BOXES, rather than radio buttons to select a product (long story). Now, we only want them to select ONE check box. If they select a second check box, an error will show.
Without copy/pasting multiple scripts as to what works and what doesn’t, here are two pages.
[COLOR=”SeaGreen”]Works:[url]http://www.hflsolutions.com//order/uc/ssi/yes.php
[COLOR=”Red”]Does NOT work:[url]http://www.hflsolutions.com//order/uc/ssi/no.php
Now, if you look at the code, the ONLY differences are the following:
WORKS: PV_C and PV_3
NOT Work: PV-C and PV-3
I changed the underscore (which DID work) to a dash (which does NOT work).
Can anyone please help me? Any suggestions? Wasted an hour goofing around with it and nothing works =(
Thank you kindly in advance for your help…
– Sam