Radio buttons in a single line
hi all,
how to get more than one radio buttons in a single line in a selection screen?
please give the solution as it is urgent.
i will surely reward ur efforts.
thanks
sanjeev
Hi,
check this this will be helpful for u.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS:WIP_ONLY RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN COMMENT 2(15) WIP FOR FIELD WIP_ONLY.
PARAMETERS:HIS_ONLY RADIOBUTTON GROUP RAD1 default 'X'.
SELECTION-SCREEN COMMENT 20(15) HIS FOR FIELD HIS_ONLY.
PARAMETERS:BOTH RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN COMMENT 40(15) WIP_HIS FOR FIELD BOTH.
SELECTION-SCREEN END OF LINE.
at selection-screen output.
WIP = 'Work-in-Process Only'.
HIS = 'History Only'.
WIP_HIS = 'Both WIP & HIS'.
regards,
bharat.
Similar Messages
-
Two radio buttons in a single row of a table
Hi All,
Can we have two radio buttons in a single row of ADF TABLE.
My requirement is that i have a list of submitted records. The user can approve or reject the records.
All the records are displayed in the table. there will be two columns in the table(Approve , Reject) The user can approve the first record and reject the second record and so on....
using table selectOne we can select only one row. Using radio buttons how to select the multiple records, at the same time grouping is done between the two columns(radio buttons) in the tableHi,
I don't think that you can do this with radio buttons. The usecase is more for chackboxes. It would have been a usecase for radio buttons if there was a single column with 3 possible options
- pending
- approved
- rejected
Frank -
How to show/hide individual radio buttons in a single radio button list
Can I apply javascript to checkboxes in order to show/hide individual radio buttons in a single radio button list?
Thanks, Niall,
I'll give it a try . . .
Yours,
Robert Anderson
SWRCB WebSupport
1001 I Street
Sacramento, CA 95814
8th floor 59B
(916) 341-5950
[email protected]
>>> Niall O'Donovan <[email protected]> 8/5/2010 1:47 PM >>>
Hi,
Yes, it can be done. You just need to reference the actual button, rather than the radio button group.
It is best if you name the radio button group AND all of the individual radio buttons.
If the radio button group was named "myRadioButtons" and the three rb were named "yesRB", "noRB", and "maybeRB". All of this is in the hierarchy.
Then this script in the click event of the checkbox would work:
if (this.rawValue == 1)
myRadioButtons.maybeRB.presence = "hidden";
else
myRadioButtons.maybeRB.presence = "visible";
Hope that helps,
Niall -
How to disply 3 redio buttons on the single line
how to disply 3 redio buttons on the single line
using select screen and parametrersHI,
check the code.
<b>SELECTION-SCREEN begin of line.
selection-screen position 1.
SELECTION-SCREEN COMMENT 1(10) TEXT-001.
PARAMETERS: a RADIOBUTTON GROUP radi .
selection-screen position 20.
SELECTION-SCREEN COMMENT 21(10) TEXT-002.
PARAMETERS: b RADIOBUTTON GROUP radi.
selection-screen position 40.
SELECTION-SCREEN COMMENT 41(10) TEXT-003.
PARAMETERS: c RADIOBUTTON GROUP radi.
SELECTION-SCREEN END OF LINE.</b>
Regards, -
How can we have a column having text and radio button in the same line?
Hi,
I have a column which needs to have data with a radio button. Was able to achieve this by using <trh:tableLayout>. But when i select the radio button it shifts to the next line. Want to stop this behavior of radio button of shifting to the next line. This column also includes a hyperlink.So the text and hyperlink are made visible invisible based on radio button action.
Adding one more doubt. Can a particular columns horizontalgrid can be made invisible?
Any help would be appreciated.
sample code:
<trh:cellFormat id="cf8" halign="start">
<af:activeOutputText value="#{row.Actions}" id="aot2"/>
<af:goLink text="#{row.Actions}" id="gl1"
clientComponent="true" visible="false"
targetFrame="_blank" destination="http:// + #{row.BUTTON_URL}">
</af:goLink>
<af:selectBooleanRadio text="" id="sbr1">
<af:clientListener method="selectCheckBox" type="click"/>
</af:selectBooleanRadio>
</trh:cellFormat>
Thanks,
NitaRemove the <trh:> components. Put the other components as direct children of the PanelGroupLayout:
<af:column id="c2" headerText="Actions">
<af:panelGroupLayout id="pgl6" layout="horizontal">
<af:activeOutputText value="#{row.Actions}" id="aot2"/>
<af:goLink text="#{row.Actions}" id="gl1"
clientComponent="true" visible="false"
targetFrame="_blank" destination="http:// + #{row.BUTTON_URL}">
</af:goLink>
<af:selectBooleanRadio text="" id="sbr1">
<af:clientListener method="selectCheckBox" type="click"/>
</af:selectBooleanRadio>
</af:panelGroupLayout>
</af:column>If you need to add some horizontan space between the components, you can put <af:spacer>(s) between the components.
Dimitar -
Can you display a radio button on the same line as a selection field?
I am fairly sure this can not be done but then I have never had a request like this.
My users want me to change a screen to have radio buttons on the same liines as other fields.
For example:
From Order: ________ To Order: ________ @ First Radio Button
From Loc: ____ To Loc: _____ @ Second Radio Button
These are using selection screens in an SAP report program - no dynpro or web design.
And the user would only be able to select one button as all are in the same group.
I could define as a check box too and only permit one to be selected - I think.
if this can be done i do not know anyway to codee it.Hi
Please check the below code:
TABLES: mara,
vbak.
SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) v_mat.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
SELECTION-SCREEN POSITION 60.
SELECTION-SCREEN COMMENT 70(10) v_ma.
PARAMETERS: r_m RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) v_sal.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
SELECTION-SCREEN POSITION 60.
SELECTION-SCREEN COMMENT 70(10) v_sa.
PARAMETERS: r_s RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
v_mat = 'Material number'.
v_sal = 'Sales Order Number'.
v_sa = 'Sales'.
v_ma = 'Mat'.
Shiva -
How to navigate to specific radio button of a single radio group.
Hi
i have a radio group named rdo_grp, in that radio group i had 3 radio buttons named rdo_a, rdo_b and rdo_c.
Now, when forms executes and user navigates from any text item to above mentioned radio grp, the cursor implicitly goes to first radio button ( i.e.rdo_a).
But i want to navigate the cursor to second radio button (i.e. rdo_b) when cursor navigates from any text to radio grp.
please help.
OnkarThe focus is given to the radio button that represents the value of the radio group - i.e. the cursor goes to the selected radio button, not necessarily the first button in the group. To force navigation to a particular button, I think you will have to change the value of the radio group. I don't know if that's desirable, but it could be done with a WHEN-NEW-ITEM-INSTANCE trigger on the radio group:
:rdo_grp := <value of rdo_b>; -
HOW TO CREATE 2 PARAMETER IN SINGLE LINE.
Please do NOT POST IN ALL CAPITALS
HI,
HOW TO CREATE TWO PARAMETERS IN A SINGLE LINE AND THE INPUT HAS TO BE DISPLAYED IT IN A POP UP BOX. THIS IS MY TRAINING TASK HELP ME TO SOLVE IT.
REGARDS,
SREERAM
Edited by: Matt on Mar 19, 2009 1:26 PMhi,
SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-001.
PARAMETERS:
p_carrid TYPE spfli-carrid.
SELECTION-SCREEN COMMENT 30(10) text-002.
Parameter p_connid TYPE spfli-connid.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
Radio buttons in a single line.
SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-001.
PARAMETERS p_rad RADIOBUTTON GROUP grp.
SELECTION-SCREEN COMMENT 30(10) text-002.
Parameter p_rad1 RADIOBUTTON GROUP grp.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1
Thanks
Sharath -
How to give the parameter in a single line
hi,
i am working on reports, i have declared the parameter as radio button, how to have the radio button in a single line.
somethink like this
radiobutton1, radiobutton2, ....Hi Anitha,
1. Comments
u will also need to give comments/captions
(on the left of the radio button)
2. try this (just copy paste)
REPORT abc.
selection-screen begin of line.
selection-screen comment 10(20) text-001 for field b.
parameters : b radiobutton group g1.
selection-screen comment 40(10) text-002 for field d.
parameters : d radiobutton group g1.
selection-screen end of line.
regards,
amit m. -
Greetings. I'm brand new to this, and am trying to create a form with multiple lines of radio buttons on a single page to send to my students. How can I do this?? I currently have a table that I want the students to fill out and return, but every time I put radio buttons in, the form only allows selection of one of the 12 - I want students to be able to select one on each row.........
Each group of three radio buttons for a row should have the same field name and different "Radio Button Choice" (see Options tab). So if you copy & paste the first row, be sure to rename the new ly added radio buttons.
-
Radio button in bdc multiple transaction
hi,
i m working on two dependent transactions in bdc(using call transaction method) on ie01 and ko01 transactions where in in the selction screen i used two radio buttons under one group for calling each transaction,but i m unable to call ko01 transaction when i click to ko01 radiobutton and press execute its going into ie01 transaction,can any one explain how we can write the code to call two transactions seperately and upload data seperatly for both under single radio button group in single pgm......Hi Raj,
Can you please send me the BDC code which you have written for tcode ko01. I am getting the following problem in BDC code for uploading internal orders in KO01 tcode.
I want to enable a field in BDC program for ko01 tcode.
In this tcode, based on order type the business area field is enabling and disabling. If it is enabled then we have to enter business area bcaz its a mandatory field. Business area will be disabled if system generates a value into that field based on order type.
How can do it in BDC program of this disabling and enabling technique.
I want to enable the business area irrespective of order type and i will pass the value to it,bcaz in my flat file business area value is given for all order types.
Its an urgent issue.
Thanks in Advance.
Regards,
Swapna -
Radio button trouble when more than 2 selections
I have a VI that uses 9 radio buttons to select one of nine cases. Each case contains a subVI that essentially creates a dated filename to write varying GPIB data to. The first two selections (1 and 2) work as designed. I get a date-coded filename with each subsequent run of the Main VI. However, my problem lies in selections 3 - 9. Each of these also creates a corresponding filename, however 3 seconds after the initial run, I get a second unprompted filename. It appears that selections 3-9 run twice. One filename reflects the value left in the buffer from the previous selection and the other is new as expected. I have scoured my code for loops and there are none. I would have expected all selctions to perform alike but the first two are working to design. Any ideas?
Thanks in advance!
PhilYour description dies not make a lot of sense. Do you have nine radio buttons or a single radio button with 9 choices? What exaclty happens 3 seconds after the initial run? Is the program still running at that time? Do you use dataflow or is the code chopped up and uses mostly local variables and value property nodes?
Could you strip out your VI to the essentials to demonstrate the problem., Remove all the GPIB and file IO so it just displays the resulting file name in a text indicator... Then attach it here. Thanks!
LabVIEW Champion . Do more with less code and in less time . -
How to unselect Radio Button in VC
Hi all,
I have set of questions with radio button. I can select different values from radio button for different questions. I select one value (Ex: good) from radio button and then if i click Next button the value of the radio button is not refreshed . It shows the same value what i have selected before that. How can i unselect the radio button for next questions?
Help me in this regard.
Thanks & Regards,
Hemalatha JHi Basheer,
Ya, I am using single radio button Group and Single Form. I changed question field by doing system action of button(select Row action).
Thanks & Regards,
Hemalatha J -
Is there a way to prevent a set of radio buttons from being congruent to the previous? For example, I have a PDF form with Questions 1-5, each with a 'yes' and 'no' radio button. If the radio button for 'yes' is selected for Q1, and the 'yes' radio button for Q2, the radio button from question 1 disappears. This happens for each set of radio buttons in order. Is there a setting so that each set of radio buttons for each question is their own and not connected to the rest? Hope this makes sense.
Thanks.I found something that describes my issue better than I did--
There are two or more radio buttons within a single group which have the same value. Clicking on one causes the dot to appear briefly and then move to the other radio button with the same value.
When creating a form, how do I make it so a group of radio buttons don't have the same value? -
Hi,
Any body has any idea to split the radio button label in two lines to display, because the label is too long.
Thanks,Hi!
SET_RADIO_BUTTON_PROPERTY ( 'block.radio_group', 'Button_name', label, 'Line 1' || chr(10) || 'Line 2' );regards
Maybe you are looking for
-
NF-e parada no passo de Assinatura após queda do PI
Olá Pessoal, Na semana passada tivemos um problema com a máquina do PI e GRC (as duas aplicações estão na mesma instância) que ficou fora durante um periodo de 4 horas. Ao retornar, a maioria das Notas puderam ser reinicializadas pelo proprio monitor
-
How to get textfield values from a tableRowGroup
I have textfield in a table. my problem is How to get textfield values from a tablerowgroup1.
-
Looking for a time-stretching app
Can you guys recommend your favourite time-stretching app? I'd like to find an easier way of lining up transients to beats, for example. Thanks, Shaun
-
Join two list with condition using caml query in SharePoint 2013 with client object model
Hi, Want to join two list to get all fields from both list. Am new to sharepoint and sharepoint 2013. Am working in sharepoint 2013 online apps. Am using context.executeQueryasync to load list and get items from list. Am able to get items from single
-
Apple TV does not connect to internet over the WiFi network
I recently bought an Apple TV and hooked it up to my Sony 46" HD LCD TV. My desktop is an iMac running Mac OSX Leopard I have created a WiFi network using the AirportExpress conected to an ADSL router. The wireless network is working fine and I have