07-02-2008, 08:26 PM
A little help please;
I have spent the last week learning HTML, JavaScript and more but I just cannot pull this rabbit out of the hat.
I am trying to change the HD_sample_get_form_data to a 4 choice radio. I have tried things like changing str s2=ch.getAttribute("checked" 0) –to- str s2=ch.getAttribute("value" 2) but the best I can get is 0,-1 or Yes and I believe that this means checked or unchecked . Is there a way to change this into a 4 choice radio?
Example:
Macro
I have spent the last week learning HTML, JavaScript and more but I just cannot pull this rabbit out of the hat.
I am trying to change the HD_sample_get_form_data to a 4 choice radio. I have tried things like changing str s2=ch.getAttribute("checked" 0) –to- str s2=ch.getAttribute("value" 2) but the best I can get is 0,-1 or Yes and I believe that this means checked or unchecked . Is there a way to change this into a 4 choice radio?
Example:
Macro
;1) Do you like cats?<br>
;<input type="radio" name="Questioner1" value="Yes"> Yes<br>
;<input type="radio" name="Questioner1" value="No"> No<br>
;<input type="radio" name="Questioner1" value="Cats are ok but Dogs are better"> Cats are ok but Dogs are better<br>
;<input type="radio" name="Questioner1" value="None of the above"> None of the above<p>