Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
quovadimus02 #1
Help with radio buttons
I need some help with my radio buttons. I have 3 radio buttons in my form.
Now when one is selected and the form is submitted they all go to the same
page, I just want them to have a different URL variable so I can use that to
determine the content of that page. Now I'm not sure how to make this happen
with radio buttons. Any help would be great. Here's what my form looks like.
<form name="form1" id="form1" method="post"
action="uploads.cfm?member_category=#category_type #">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><label><input type="radio" id="member_category" name="category"
value="" /><strong>1</strong></label></td>
<td></td>
</tr>
<tr>
<td><label><input type="radio" name="member_category" value="teaching"
/><strong>2</strong></label></td>
<td></td>
</tr>
<tr>
<td><label><input type="radio" name="member_category" value="clinical"
/><strong>3</strong></label></td>
<td></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Next Step" /></td>
<td></td>
</tr>
</table>
</form>
quovadimus02 Guest
-
Radio Buttons
hi, can you let me know how to clear a radio button when the screen is loaded up again -
Flash MX 2004: Making radio buttons without using the radio buttoncomponent
Hello Can anyway suggest a good guide for making radio buttons without the radio button component? I'm new to Flash, but I've gotten to the point... -
XML into radio buttons
Hi, I am trying to attachMovie an XML file into a list radio buttons. Can anybody show me a clue on how to do that? Any comment, code, web site... -
Radio buttons help
Try Using The Following: radioButtonName.setStyle("color", 0xFFFFFF); Replace The "FFFFFF" With The Hex Code For Whatever Colour You Want. -
Using Radio Buttons?
Hi - how do I use radio buttons or check buttons so that only one of them at a time can be selected? I am using three but would like only one to... -
blewis #2
Re: Help with radio buttons
You description makes it sound like you want to change the action based on the
radio button selection, is that correct? You would have to do this with
JavaScript. Put and onClick() handling on each of the radio buttons, and then
just set the form's action property to whatever you want:
<input type="radio" id="member_category" name="category" value=""
onClick="this.form.action='whatever.cfm' />
If this is not what you want to do, please elaborate further.
Bryan
blewis Guest
-
Mr Vball #3
Re: Help with radio buttons
Is it vital that the variable be passed via the URL? I ask because your
variable (member_category) is ALREADY being passed to your action page
(uploads.cfm) as a FORM variable. I am assuming (without seeing uploads.cfm)
that you are doin some conditional processing on uploads.cfm. You can use the
same logic. The variable is simply in the FORM scope instead of the URL scope
HTH
Mr Vball Guest
-
911guy #4
help with radio buttons
I want to add a a few questions were the user can select a "rating" via a radio
button.
I would like to be able to assign a numeric values (say 1-5) to use for 1 =
"poor service" and 5 = "great service". How do I assign a numeric value to a
radio button, and how would I be able to total the score of say 3 questions and
get it via an e-mail. Any help is apreciated, as I'm more of a designer than
coder. Thanks!
911guy Guest



Reply With Quote

