What if you have more than two options that you want to be able to be selected, i have at least 4 choices that i need in one radio button set, how would that be done?
What if you have more than two options that you want to be able to be selected, i have at least 4 choices that i need in one radio button set, how would that be done?
you will have to use check boxes, radio buttons are only two values, yes/no, true/false, on/off, m/f understand?
What's the deal with all the " _ "/s Doesn't that mess up your code?
I's not code..it's just a statement to say that radio buttons are only for two values.. either yes or no etc.. If you need to have more than one option checked use check boxes or lists
I's not code..it's just a statement to say that radio buttons are only for two values.. either yes or no etc.. If you need to have more than one option checked use check boxes or lists
So, would you just use two different sets of radio button input tags, if you were using four radio button, and just check to see which one is set? And then carry out whatever action you need/want done from there?
My teacher wants us to create a form where users enters 2 numbers and then clicks one of four radio buttons (add/subtract/multiply/divide). Then when they click the submit button, the user is transferred to the results page where their two numbers are either added, subtracted, multiplied, or divided depending on which radio button. All I'm getting is a blank page for the results, which is why I ask.
Use 1 group of 4 radio buttons - this makes the user choose only one of the 4, that's why radio buttons exist compared to checkboxes which is one or more. You could also use select (without the "multiple" attribute) but the radio button is more intuitive.
That's what I had last week, I haven't worked on this particular assignment recently. The form page works fine, but no matter what you put into the fields, you receive a blank page at the results page. This, I assume, has something to do with the radio buttons not working right in the code in the results page. Any help would be greatly appreciated.
Oh, here's a link to the form page, if you want to see what it does when you try to input and submit:
Bookmarks