Selection values for radio button

Hi everybody,
I want to use radio button which display revenue in function of airline class ...
Then, for the different values, i want use:
Text: Economic --> Values= A,B,C,D
Text: Business  --> Values=G,H,J
Text: Flex         --> Values= others values than A,B,C,D,G,H,J
How i can proceed ?
Thanks for your help
Rodolphe.

Hi,
I think you can approch the issue better.
Same text can't pass different values because this way you "lose data".
The user can't differentiate between Economic with value A or Economic with value B.
If you like Econimic to be "translated" to A and B and C and D, you have to do it on the element inwhich you are using the Economic's semantic using IF statements.
For example, you can have 9 graphs: 4 Economic (one for A, one for B etc.), 3 Business and 2 other.
You can have a visibility condition for the Economic graphs, such as @RadioButtons=="Ecomonic".
If you'd like to elaborate on your end goal, I'll be more than happy to help,
Regards,
Shay

Similar Messages

  • How to set value for radio button in sap crm survey suite

    Hi ,
    I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
    Thanks & Regards,
    Seshu

    Hi,
    I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
    Regards,
    Seshu

  • ADF 10.1.3 -  Default value for radio button

    Hi
    How to set the default value for Radio button?
    I have Yes and No fixed values for a radio button, and couldn't find any option to set the default value.
    How can I set Yes as default value?
    Appreciate your help.

    FrameworkSpl,
    What are you using for the model layer? If you are using ADF Business Components, simply set the default value for the attribute upon which you are basing the radio buttons.
    John

  • Numeric Value for Radio Buttons

    This should be easy for the experts:
    I got a bunch of 10 exclusion groups containing 3 radio buttons each. Every radio button got a numeric value associated, meaning the user is picking a numeric value by selecting a given radio button pretty much like the tests on the magazines in which the people pick options like "single= 10 points, married=5 points, engaged=1 point)
    In the bottom part of the same form I got a table of one one column and 10 raws sumarizing the 10 already mentioned above.
    The aim: to place the value coming from the radio button in the specific cell of the table.... in short, I want a script that allows me to palce the value of the selected radio button somewhere else in the same form, a numeric field for example.
    Thanks,

    Hi try67,
    Thank you so much for your help. Your code has brought me one step closer, I would never have gotten even this far without it!
    Initially, it was giving me and error, so I added a ")" and now it does display "Mastery", but I cannot get it to display the other two ("Acquiring" and "Practicing"), it just displays a blank space but does not give me an error.  I tried to fix it on my own by searching for some help, so I found and started playing around with jsbeautifier.org and JSLint. However, since I really don't know much about coding or syntax I hope these were not harmful. So now the code looks like this:
    // name for the text box field;
    var cTextBox = "Firm-Wide Talent Strategy Knowledge - Totals";
    // get the value of the field with the name in cTextBox;
    var sTextBox = +this.getField(cTextBox).value;
    if (sTextBox >= 1 && sTextBox <= 2) {
        event.value = "Acquiring";
    if (sTextBox >= 3 && sTextBox <= 4) {
        event.value = "Practicing";
    if (sTextBox >= 5 && sTextBox <= 6) {
        event.value = "Mastery";
    } else {
        event.value = "";
    Do you know what I might be missing that prevents "Acquiring" and "Practicing" from displaying? 
    Thank you so much again for your help,
    Chris

  • Getting form field values for radio button

    Hello to the forum.
    I have a form in which I want to control the value selected in a radio buttons field on whether to allow access to another field.
    I can't find info neither here nor in the examples.
    Anybody know how to do?
    Thank in advance.

    Hi,
    You can use the change event of the radio button list.
    Select the readio button list exclusion group, in script editor select the "change" event. As an example if we have two selections "aa" and "bb" which have values 1 and 2 respectively.
    You can write this Javascript code to change event.
    if(this.rawValue == 1)
    xfa.host.messageBox("aa");
    else if(this.rawValue == 2)
    xfa.host.messageBox("bb");
    Hope helps,
    Asiye

  • How to check the default checked  value for radio button on jsp for struts

    Hello , I just want to check the default checked value in JSP for a radio button, how can i do that?
    <html:radio property="sale" value="permanent" style="vertical-align: middle;">Permanent</html:radio>
    <html:radio property="sale" value="temporary" style="vertical-align: middle;">Temporary</html:radio>

    you can set the default value for property ( which you want to default selected when the form is first loaded) in reset method of the form.
    <html:radio property="sale" value="permanent" style="vertical-align: middle;">Permanent</html:radio>
    <html:radio property="sale" value="temporary" style="vertical-align: middle;">Temporary</html:radio>
    In the above case you can write the code as follows in the perticular form of this jsp.
    public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
         sale = "permanent";
    This will show the first check box default selected when the first time the page is loaded.

  • Func- Code for Radio-button in Module-pool Prg.

    Hi Friend's.
    I have define 2 Radio button
    on Module-pool screen.
    I am not been able to triger the Radio button in
    Pai .
    How can i assign the function code for
    radio-button in module-pool.
    pls can any one help me

    Hi,
    For radion buttons, what ever the name you will give that name only will hold that value ( Either selected or not ). But this variable should be declared as global variable in main program.
    Still if you want to assign function code, you can assign one like other fields on the screen.

  • How to get dispaly value of radio button

    hi i have situation where i what to get display value of radio button,for example i store value A in db but i display Active in my radio button how can i do that
    my radio button is
    <af:selectOneRadio id="sor3" layout="horizontal"
                                   value="#{pageFlowScope.InternalBean.status}"
                                   autoSubmit="true"
                                   valueChangeListener="#{RadiobuttonPopupBean.activationChangedListener}">
                  <af:selectItem label="Active" value="A" id="si10"/>
                  <af:selectItem label="Inactive" value="I" id="si9"/>
                </af:selectOneRadio>
    i what to display the value in this outputtext
    <af:outputText value="Reason: #{bindings.Reason.inputValue}" id="ot9"
                               partialTriggers="d1" inlineStyle="height:100px;"/>
    am in jdeveloper 11.1.1.6.0

    adf009, the answer was given in my blog I posted to your other thraed JDeveloper: Showing a Popup when Selecting an af:selectOneRadio | JDev &amp;amp; ADF Goodies
    You only have to read it and the link provided inside the blog pointing to the other blog entry.
    use
    <af:outputText value="Reason: #{pageFlowScope.InternalBean.status}" id="ot9"
                               partialTriggers="d1" inlineStyle="height:100px;"/>
    to output the text.
    By the way your code snipplet isn't understandable without knowing the context around it. You always should mention if you post code from someone else (at least give a link to the source).
    Timo

  • Select List or Radio Buttons query with multiple tables join

    Hello,
    I'm having a problem creating a select list or a radio group item.
    I need to display the emp_first_name in the select list but have the return value of the order_id in the select list or radio buttons item.
    The tables are as follow:
    emp_table
    emp_id
    emp_first_name
    emp_last_name
    etc...
    orders_table
    order_id
    order_name
    emp_id
    etc...
    I need to display the emp_name from emp_table in the select list but return the order_id from the orders_table as the return value.
    How can I do this?
    Any help would be greatly appreciated.
    Thanks.
    Regards,
    NJ

    Hi NJ,
    Try:
    select e.emp_first_name d,
    o.order_id r
    from orders_table o
    inner join emp_table e on o.emp_id = e.emp_id
    order by 1You may have an issue with an emp_id being used for more than one order and, therefore, the employee's name appearing more than once in the list?
    Andy

  • Why not autoskip for radio buttons? and the  update_allowed FALSE issue

    I would so dearly love there to be autoskip for radio buttons. (forms 11.1.1.4 jre 6...24) There is no autoskip property for the radio group nor for the individual buttons.
    I don't find an easy way to emulate it either. Or am I missing something?
    Anyone else solve this problem already? When the user selects a radio choice I want the focus to move
    to the next enabled item on the form. You can do this with text items but not with radio groups. (In some cases the radio group has a when-radio-changed trigger
    that enables/disables following items). This would all be a lot easier if radio groups just had autoskip. I wonder why they don't?
    BTW the following has cost me a huge amount of time. In 6i it was the case in my experience that if you
    disabled an item like this:
    PROCEDURE disable_item (myitem in varchar2) IS
    BEGIN
         copy(null,myitem);
            set_item_property(myitem,enabled,property_false);
         set_item_property(myitem,visual_attribute,'DISABLED');
    END;Then that could be reversed as so (the weird thing was you had to set navigable also despite not
    having changed it yourself.
    PROCEDURE enable_item (myitem in varchar2) IS
    BEGIN
      set_item_property(myitem,enabled,property_true);
      set_item_property(myitem,navigable,property_true);
      set_item_property(myitem,visual_attribute,'ENABLED');
    END;But in 11.1.1.4 I had lots of trouble with Lov's not rising after the item had been disabled and then
    re-enabled. No error message. Just didn't do it. Eventually I figured out that what happens is that
    after disabling an item the item as also non-updateable. This was not the case in 6i. So then
    the enable item code has to be something like this: [Note despite that not update_allowed it did not
    automatically grey out the item firefox 3.6.17 and it still has to be done programmatically.]
    PROCEDURE enable_item (myitem in varchar2) IS
    BEGIN
      set_item_property(myitem,enabled,property_true);
      set_item_property(myitem,navigable,property_true);
      set_item_property(myitem,visual_attribute,'ENABLED');
      set_item_property(myitem,update_allowed,property_true);
    END;

    Well right now 11.1.1.4 for autoskip for radio buttons this seems to be working ok. Crossing my fingers!
    a block level when-radio-changed trigger with after scope (where item level when-radio-changed triggers
    have before scope) with a simple next_item in there.
    Where I was having problems before was next_item-ing onto disabled items. There was some kind of issue
    with lov's. I'm having less trouble raising the lov programmatically. but also I had the problem that
    items were getting set non-update_allowed without my realization.
    when new item instance:
    declare
         currfield varchar2(70) := null;
    begin     
         currfield := :system.trigger_field;
    if (get_item_property(currfield,UPDATE_ALLOWED) = 'TRUE')
         and (get_item_property(currfield,UPDATE_PERMISSION) = 'TRUE') then
           list_values;
    else
         mess(currfield || ' UPDATE not allowed');
    end if;
    end;(mess is my program to display alerts.)

  • Want to create F1 Help for radio button in my report

    Hi All,
          I want to create F1 Help for radio button in my report program. Which function module should i call in <b>at selection screen on help-request</b>
          Also do I need to define the texts somewhere or I can pass it directly to the function module.

    Try DYN_FIELD_F1_HELP,
    ~Suresh
    that is only for Dic fields..
    Pl take alook at this<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a243d9b511d1950e0000e8353423/frameset.htm">SAP Help</a>
    ~Suresh
    Message was edited by: Suresh Datti

  • Change text for radio button

    Hi all,
    Can we change text of radio button in selection screen after pressing push button?
    On screen, I will have push button for user to select one of two conditions, after selecting, I want radio button text be changed, for example : text > 'upload' will be changed to become 'upload sales'.
    can we?
    thanks
    Alia

    Hi alia,
    1. Very simple.
    2. The Important thing is
        NAME of the RADIO BUTTON.
    eg. name is XYZ.
         then we can access it in program like this :
        %_XYZ_%_app_%-text = 'Hello Sir'.
      (Please note the FORMAT - Its important)
    3. try this code (just copy paste in new program)
      IT WILL CHANGE TEXT OF RADIO BUTTONS
      WHEN PUSHBUTTON IS CLICKED.
    REPORT abc.
    PARAMETERS : abc  RADIOBUTTON GROUP g1,
                 xyz  RADIOBUTTON GROUP g1.
    SELECTION-SCREEN : PUSHBUTTON /15(25) pb USER-COMMAND pp .
    ABC, XYZ
    AT SELECTION-SCREEN .
      IF sy-ucomm = 'PP'.
        %_abc_%_app_%-text = 'Hello Sir'.
        %_xyz_%_app_%-text = 'How are u ?'.
      ENDIF.
    regards,
    amit m.

  • Global binding for radio buttons needs tweaking

    When selecting global binding for a text or numeric field, its corresponding field with the same name also changes to global binding.
    However when doing this for radio button exclusion groups, the other radio button groups don't automatically change to global. You have to do it manually.

    Found the problem in another topic:
    scott sheck - 1:30am Jun 29, 07 PST (#6 of 7)
    A pasted radio button is automatically added to an existing exclusion group if the last added item was a radio button. This is in the help.
    I wish there was a default to turn this off because I don't want to add a temporary item just to get a new exclusion group.

  • How to increment array that contains two clusters whose visibility is controlled by a visible property node and selected by a radio button.

    I am trying to use a property node: visible in order to enable or disable one of two clusters. These clusters are in a larger cluster and this larger cluster is in an array. The two clusters are controlled by a radio button (one labeled transistor and the other diode). When diode is selected, the corresponding diode parameters cluster should be visible and when transistor is selected, the corresponding transistor parameters cluster should be visible. In the mean time, the cluster of the device that is not selected should not be visible. There are at least 45 elements in the array (but not more than 45). Data is entered into each cluster (diode or transistor data) for each element in the array via the increment/decrement. The problem is when you select the first radio button (transistor) and enter data, when you increment the array for a new device selection, since a visible property node was used on the cluster, a loop is created where a new cluster is trying to be shown, but the old cluster is also trying to be shown (because it is the one referenced by the property node. How do I get rid of this loop and still be able to increment the array and keep my data intact for future use? Attached is the vi
    Attachments:
    ChooseScan.vi ‏17 KB

    You could try something like this.  However, if you know how to use an xcontrol, that would be a better way to implement the above functionality so that these UI characteristics are not a part of your main VI.  The problem with the above VI is that you're looping every 100 ms just to update your UI.
    Also, try using the "disabled" property node, instead of the "visible" one.  That way, the user will still see the options he has but they will be grayed out.
    Message Edited by Sudhir Gopinath on 06-25-2007 04:45 PM
    S G
    Certified LabVIEW Architect, Certified TestStand Developer, Certified Professional Instructor
    Attachments:
    ChooseScan_1.vi ‏19 KB

  • Dynamic-actions/expressions for Radio button in VC

    Hi,
    I would like to know whether dynamic actions for radio-buttons are possible in VC??
    I have a situation where, i have to display/hide an input-field according to the radio-button that i select.
    Is this possible in VC??
    Because, i do not find any place where i can write expressions for a radio-button so that it can take actions accordingly.

    Actually its possible.
    Here is the sample code for this.
    tables : kna1.
    parameters : chk1 radiobutton group g1 user-command abc,
                 chk2 radiobutton group g1.
    parameters : chk3 type kunnr.
    at selection-screen output.
    loop at screen.
      if chk1 = 'x' and screen-name = chk3.
          chk3-active = '0'.
      endif.
    endloop.
    In this way you can hide a input-field on the screen.

Maybe you are looking for

  • Takes time to start mapping.

    I am struggling with a strange problem. i have a process flow which is like start ----> Fork---->Mapping1 | | V Mapping2. when i start the process flow with help of wb_rt_api_exec.run_task(); process flow starts immediately and creates an entry for p

  • Looks like I have an operating system/software incompatibility

    Still working on trying to resolve the problem I posed earlier today in the "MacBooks" Forum. Here's what I'm dealing with: In 2002, I impulsively bought a MacBook, loaded several of my favorite apps, but otherwise really didn't use it until 2010 — w

  • Partial Refresh for Chart Region

    Hi all, I am using Application Express 4.0.1.00.03. I need to know whether partial refresh is available for Flash Charts or not? If yes how? Thanks in advance... Edited by: jyothi on Aug 17, 2011 9:06 PM

  • How to get Logo in report dynamically Based on user login?

    requirement is like this: same report format will be used by 3 different users, but the different logo should appear based on their login..

  • BPM design for trigger based file from Oracle

    Hi We have one requirement as follows: 1. We need to receive trigger file from Oracle. 2. As soon as we recieved trigger file, it needs to activate all other 10 JDBC adapter channels. 3. once reciever all 10 RFC channels completed, it needs to pass t