Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML form/HTML in smart dialog
#20
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
Code:
Copy      Help
;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>


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)