Hi,
I am trying to create a GUI that will take several inputs and run them through several functions. I wish to use a radio button panel to switch between different graphs, but i just cant seem to get it working. Here is a sample of my code.
switch get(eventdata.NewValue,'Tag') % Get Tag of selected object
case 'button1'
...
The radio buttons in Zend Framework are displayed in a column (one option per line). How can I remove the br tag from the markup so that all radio options stay in one line?
My decorators are:
private $radioDecorators = array(
'Label',
'ViewHelper',
array(array('data' => 'HtmlTag'), array('tag' => 'div', 'class' => 'radio'))...
Hi there,
I have an MFC dialog in which there are two radio buttons. I have put them in a nice group, their IDCs are one after each other (RB_LEFT, RB_RIGHT).
I want to use DDX_Radio so I can access the buttons using an integer value so in the function DoDataExchange I call :
DDX_Radio(pDX, RB_LEFT, mRBLeftRight);
where mRBLeftR...
In jQuery, I'd like to select all groups of radio buttons where there are no buttons checked.
Or, is there a way in which I can select all radio button groups and iterate through the groups?
I'm dynamically adding N radio button groups to a page and will not know, before hand, what the names of the radio button groups will be.
...
Hi all,
Thru radio button i am selecting the data from gridview. Here all radio buttons are selectable at a time. Actually it should not happen at a time user can select only one button which i could not do. My second problem is when i am selecting particular radiobutton that details should be displayed in text box. I have Itemid, ItemNa...
I'm using webrat with cucumber and I would like to test if a radio button is checked already when I am on a page.
How can I do that ? I didn't find any step in webrat which can do that.
...
Hello,
I have the code:
<% form_for(@libation) do |f| %>
<%= f.radio_button :carbonated, true %> <%= f.label :carbonated, "Yes" %>
<%= f.radio_button :carbonated, false %> <%= f.label :carbonated, "No" %>
<% end %>
The carbonated column in db is tinyint. And when the above is run and I click "No" I get a big red box telling me:
1 err...
Hello,
There has to be a more efficient way in Rails of doing this:
<p>
<%= f.label :level %>
<%= f.radio_button :level, "0" %> <%= f.label :level, 0 %>
<%= f.radio_button :level, "1" %> <%= f.label :level, 1 %>
<%= f.radio_button :level, "2" %> <%= f.label :level, 2 %>
<%= f.radio_button :level, "3" %> <%= f.label ...
Hi ;
i'am add radio buttons on click event. but not working. my code :
RadioPanel :
RadioPanels = new Ext.Panel({
layout: 'table',
id: 'newRadioEdit',
name: 'newRadioEdit',
//title:'Servis Durumu',
bodyStyle: Ext.isIE ? 'padding-left:35px;' : 'padding-left:35px;...
I'm trying to create a form with a write-in "other" option as the last radio button. I've tried variants of the following with no success:
<label><input type="radio" name="candidate" value="option1">First Option</label>
<label><input type="radio" name="candidate" value="option2">Second Option</label>
<label><input type="radio" name="ca...
I hope my question is understandable, else I'm glad to clarify.
We have this sport event coming up, and I have the pleasure to register the people. :)
Facts:
one can have a team of 5-10 persons.
Need to know the order in which the people start.
Need to know who the team leader is.
I did a form in the following style:
o [____Write...
Hi guys!
Sorry for this question, but is it possible to make radio buttons instead of select list from this piece of code?
function _nodereview_form_review(&$form, $axis, $node) {
static $options;
if (!isset($options)) {
$options = array(
20 => -2,
40 => -1,
60 => 0,
80 => 1,
100 => 2,
);
}
$form['reviews'][$axis->aid...
In my Java app I am trying to create a very simple form with a label and a set of controls on each row of the form. Imagine something like this crude ASCII diagram:
Result 1: (*) pass ( ) fail
Result 2: ( ) pass (*) fail
Error Count: [10______]
Explanation: [Operator overload___]
Annoyingly the JRadioButtons don't line up wit...
I'm thinking it's the placement of the C# code that is making my radio buttons not function properly - this bug so far is only showing up in IE. Hope this is enough info to get some feedback, I'm just a HTML/CSS/JS dev, thanks!
<% using(Html.BeginForm("CreateCustomerAccountLogin","BookingLogin")) {%>
<%=this.Hidden(x=>x.SID) %>
...
What is the simplest way to bind a group of 3 radiobuttons to a property of type int for values 1, 2, or 3?
...
I'm looking to write jQuery to only enable radio buttons depending on which radio buttons are currently selected in accordance with some business logic.
Essentially there are 3 groups of 3 radio buttons, which end up looking something like (my apologies for being verbose with this example HTML, but hoping this will show what I mean):
<...
I want to change the value of hidden input field when radio buttons selected :
<input type="radio" name="r1" value="10" />10
<br/>
<input type="radio" name="r1" value="45" />45
<br/>
<input type="hidden" name="sum" value="" />
for example when user click on one the buttons the value of hidden field change to that v...
I am trying to create a form with many groups containing many radio buttons. When the user selects a button, I would like to calculate the sum of each selected radio button value and show this sum to the user.
I have found a plugin for jQuery which will do the calculation, this plugin use the name attribute of the buttons to calculate. ...
Hi!
I have two radio buttons:
however, altough they have the same group name and I set one of them "checked" when I load my page they both look unchecked.
I even tried to set them on the code behind but still the check is not reflected to UI.
What do I do wrong?
Thanks
...
I am currently having an issue with radio buttons and grouping. I have an asp radio button within a repeater control. I have the group name attribute set to "Customer". When the page loads, the radio buttons are not grouped. Instead of the id fields being set to the group name, it is setting the value fields of the radio buttons. I know ...