Is it possible to have Dynamically changing list of  Radio buttons ?

Hi,
There is a list box which a list of values like 'State', 'City', etc.
When the user chooses a value in the list box, based on the value chosen say 'City', I should display a list of Cities. The user should then be allowed to choose 1 and only city from the list.
Is it possible to have list of radio buttons such that there is 1 radio button for each city and the user can then choose any one of the radio buttons ?
In this case the number of cities and what those cities are is unknown. So I need to have a dynamically changing list of radio buttons. Is this possible ?
Version of forms : Forms 6.0.5.
Thanks in advance
Aruna

Hi Aruna
You can create a lot of radio buttons and hide|display them in runtime. It is more suitable i think to use the t-list instead of radio.

Similar Messages

  • Possible to have dynamic content within a campaign?

    Is it possible to have dynamic content elements within an email campaign so that different content appears based on a recipient's interests?

    Hey there, Nope.
    BUT
    See the BC Blog

  • Is it possible to have a menu with just one button highlight when someone rolls over it?

    is it possible to have a menu with just one button highlight when someone rolls over it? if so how would you do it as i tried doing an invissble button but it didn't work?

    Get yourself a copy of Total Training for Encore DVD 1.5 by Daniel Brown.  This exact scenerio was explained in section 4) Building Menu and
    section 7) Advanced techniques.
    I refer to Dan's video time & time again.  It's from 2004 but he's still right on the mark regarding the generation of every aspect of creating a DVD.
    They now offer their entire online.
    www.totaltraining.com
    Good luck

  • Have a list of radio buttons control layer visibility

    Any help would be appreciated, I am very new to scripting for PDF actions in Acrobat XI Pro
    I have 4 different sets of radio buttons that a user has to answer yes or no to.  When certain sequences of radio buttons are selected it should set one of 4 text fields' visibility to on.  
    For example, if the sequence is
    No, Yes, Yes, No
    then I want only the 3rd text box made visible and the other ones to remain hidden. 
    There are 9 different combinations that need to turn on one of 4 fields at a time.  Is this possible?
    Thank you very much in advance.

    Thanks GKaiseril
    I have spent a little time trying to learn this and what I have so far is not working. 
    I have 4 Radio Button Groups set up named: "Group1", "Group2", etc
    I also have a Text box which is what I want to be visible or not called: "TextBox"
    Here is my script:
    if (Group1.rawValue == "1" and Group2.rawValue == "2" and Group3.rawValue == "3" and Group4.rawValue == "4") {
    TextBox.presence = "visible";
    else {
    TextBox.presence = "invisible";
    Thanks again!

  • 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

  • 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.

  • Loading list of radio buttons- Struts

    Hello All, i have a question based on this. How can I load a list of radio buttons instead of list of select values.
    For eg., I have 5 questions and each question has 2 answers (yes/no). I iterate 5 questions coming from database. Now i need to generate 2 radio buttons (yes/no)for each question. The values for these radio buttons is also coming fom database.
    I have sample code for generating list of drop downs. Can anyone help me with generating list of radio buttons. This is the sample code:
    <html:select name="formBeanName" property="beanproperty" styleClass="formElementSelect" indexed="true">
    <html:optionsCollection name="formBeanName" property="List" label="textValue" value="id" />
    </html:select>
    Thanks,
    Sai

    sai,
    your bean C needs one more set of getter and setter to store noValues./text
    <BEAN name="C">
    <PROPERTY name="idYes" type="java.lang.String" access="get,set" />
    <PROPERTY name="yesTextValue" type="String" access="get,set" />
    <PROPERTY name="idNo" type="java.lang.String" access="get,set" />
    <PROPERTY name="noTextValue" type="String" access="get,set" />
    </BEAN>
    When you populate that bean if it is 'Yes' then set yes fields else set 'No' fields.
    then in jsp you would do..
    I used nested tags which are convinient than logic tags..You can use it too.
    I am not sure if this syntax is correct...for logic
    <logic:iterate property="a" name="AForm" >
    <bean:define id="b" property="b" type="java.util.List"/>
    <bean:define id="yesValue" property="idYes" name="b"/>
    <html:radio idName="b" property="idYes" value = "<%=yesValue%>" />
    <bean:write idName="b" property = "yesTextValue"/>
    //this will render radio as <input type="radio" name="a[0].value" value="yes">     yes
    //for no
    <bean:define id="noValue" property="idNo" name="b"/>
    <html:radio idName="b" property="idNo" value = "<%=noValue%>" />
    <bean:write idName="b" property = "noTextValue"/>
    //this will render radio as <input type="radio" name="a[0].value" value="no">     No
    </logic:iterate>
    for nested it would be
    <nested:iterate property="a" name="AForm">     
    //generate radio option for yes                                   
    <nested:define id="idYesValue" property="idYes" type="java.lang.String"/>           
    <nested:radio value='<%=idYesValue%>' property="value"/>                              
    <nested:write property="yesTextValue"/>
    //generate radio option for no
    <nested:define id="idNoValue" property="idNo" type="java.lang.String"/>                     
    <nested:radio value='<%=idNoValue%>' property="value"/>                              
    <nested:write property="noTextValue"/>          
    </nested:iterate>
    Ash

  • Is it possible to flip the multiple choice quiz "radio" button from left to right of the answers?

    Hello forum,
    I am using Captivate version 6.1.0.319 on a Windows 7 desktop PC and would like to know if it is possible to flip the multiple choice quiz "radio" button from left to right of the answers. I am working on a project that uses the "Require Right to Left composer" within the Global Preferences: General settings. The captions has been switched from left to right but the quiz answer radio buttons did not. Any help would be appreciated.
    Thanks, in advance. 

    Hello and welcome to the forum,
    I'm not aware of such a possibility. A workaround could be to create your own MCQ slides, using standard objects and widgets like the radiobuttons widget (there is an enhanced version created by Jim Leichliter) and advanced actions. These articles were written for previous versions, but can give you an idea about the work involved:
    http://blog.lilybiri.com/widgets-and-custom-questions-part-1
    http://blog.lilybiri.com/extended-widgets-for-custom-mcq-and-tf-questi
    Lilybiri

  • Javascript to dynamically change url in submit button

    Hi guys
    Is there anyone who can share the code to dynamically change the url in the submit button?
    Thanks
    Sam

    Change the button to Regular button instead of Submit and write the code in the click event of the button.
    (OR)
    Keep the button as Submit and remove the URL in the button properties. Place the code in preSubmit event to set the URL for submit.
    The code to set the URL in any of the above approaches:
    this.resolveNode("#event").submit.target = "PLACE URL HERE";
    Thanks
    Srini

  • 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.

  • Is it possible to assign a value to a radio button or checkbox?

    I would like to assign radio buttons or checkboxes a value and then have the results of the buttons selected tabulated at the end of a form, if desired. Is that possible? Thanks

    Thanks for your reply and help. I appreciate it. I was able to get an export value added to the check box, but did not see and option for a radio button. But the check box works fine for now. Thanks again.

  • Change font of radio buttons workd only in wnft

    Hi
    I have this pproblem, I change the font of th radio button but I can do it only in the new-form-instance, is this correct, I tried with the when-radio-changed trigger but does not anythin,
    Some body help me
    Thanks

    hi
    i found the way
    this is a example
    Set_Radio_Button_Property('ra_periodo','rb_ciclo',prompt_font_weight,font_BOLD);

  • Use 3 button or property to change selection of radio buttons?

    Hi all,
    I have LV 7.1 and am trying to write a process that allows the user to select the next action following the execution of several Case Structure steps.  The VI is basically thus: (sorry I can't cut-n-paste a graphic, it's on another pc.)
    While loop:--->radio button (Manual, Cycle, Auto Test)----> Case Structure (Manual, Cycle, Auto Test)--->Nested Case Structure within the "Auto Test" Case above with 13 cases ("0" to "12")
    On case "12" of the nested case structure, I want to provide a 3-button dialog box (or something that works) which allows the user to select the next test mode (i.e. the 1st case structure: "Manual", "Cycle", "Auto Test").  I can't figure out how to send anything that the property node "Value" of the radio button can use for this selection.  When I create an indicator to see what is sent from the 3-button, it shows ("Left", "Center", or "Right") "Button" strings.  The radio button "Value" property node needs an enum.  The labels on the 3-button don't seem have any consequence. 
    Any Suggestions? 
    Best Regards,
    Ed

    Dev,
    Thanks for the reply.  I experimented with the Property Node and Radio Button control extensively and figured out my problem.  It had to do with the difference between Labels, Captions, and Boolean Text.  I believe I had a caption on one of my buttons rather than the label, so the property node didn't see it as an option.  Through all the help screens that had the option of explaining this to me, it wasn't until I had fixed the problem before I found one that addressed the differences between those terms.  I'll attach my experiment vi (created with LV 7.1) for anyone like myself (non-programmer, inexperienced LabVIEW'er) that would like to see the basic function.
    Attachments:
    Property node experiment.vi ‏56 KB

  • Can in af:query we have vo attribute rendered as radio button?

    Hi ,
    we have a requirement wherein we have a search region which has 2 radio buttons to choose date range and week range respectively.is there any way to achieve this in <af:query>????
    Any pointers how to achieve this??
    Thanks
    Anand

    Hi
    Radio groups are not supported inside query currently, you may have a look at this [ similar post|https://forums.oracle.com/forums/thread.jspa?threadID=2129840] and frank's reply for more details/explanation.
    When I searched for enhancement request, I found one but that had been rejected asking for business requirements.
    If you feel, this is must in your project and have proper usecase and business requirements you may raise an enhancement request with support.
    Thanks,
    Sireesha

  • Possible to have dynamic default selections for a dashboard prompt?

    I'm running OBIEE 11.1.1.6.5, and I have customer who would like to know if it is possible to dynamically select default values on a dashboard prompt based upon other user prompted columns on the same prompt. For example, I built a dashboard prompt with three fields: Month, Customer, and Product; and I want to add a default selection to my Products prompt to pick the "top 4 products" based on the selected Month and Customer.. assuming every Customer+Month has a different "top 4 products".
    Does anyone please have a suggestion on how I could approach this solution?

    Thank you for your response. I've tested this approach and it seems promising. My concern I have there is how to treat "(All Choices)" values. Say the user selects All Choices on customer or period, and the presentation value in my SQL Results query reverts to whatever default value specified, which is not the intended behavior. My question then becomes how do I treat the null or All Choices and somehow omit the filter criteria or specify fy All Choices as a default to the presentation variable? Your advice is much appreciated.

Maybe you are looking for

  • Ubuntu installation problem on lenova 3000 g430

    Dear all, latest i try to install ubuntu  8.10 on my lenova laptop, i am able to install but after restarting pc is shows options... ubuntu 8.10 memorytest86 boot other os windows xp actually i have windows xp pre installed. I then checked /boot dire

  • Using arabic in iText

    Hello all I want to generate a pdf document that contains arabic content. What should i use in the xml to b converted into pdf so that i get the arabic content in the pdf file? Thanks & Regards Gurpreet Singh

  • Web control 3.0 documentation

    Hi all May any of us can provide me a link for the development tutorial for web control 3.0. As I am very new to ALUI development enviornment. Thanks in advance.

  • How to clean Database Connections when...

    Hi... We are writing a application where I am using a pool of DB connections to use in all my classes. We use IPlanet Web Server to serve Servlets... When the IPlanet Web Server is closing down I need a way to clean (close) the connections to the DB.

  • How to move my contacts from my iphone 3G to a 4G without icloud

    I have an iphone 3G and I'm trying to move my contacts ( around 300) to my iphone 4G . I backed up my iphone 3 G in Itunes but when I want to sync to my iphone 4S it says that contacts are sync via icloud.  How can I move the contacts without typing