Radiobutton

Hi Experts,
This is Prabhakararao
I have a small problem.
I had taken two Selection-screens. One having 3 Radiobuttons and second having 2 input fileds. Whenever i executes a program if i click 1st radiobutton on first selection screen then 1st field of the second selection screen will be enable and the other field is disable.
if i click second radiobutton then 2nd field is enable and first one is disable. if i click 3rd radiobutton then two of the fields are enable.
pls.. i need the necessary code urgent....
pls. send the answer to my mailid: [email protected]

Hi prabhakara,
1. There are two things to know:
a) detecting that radio button has been clicked
b) making invisible fields on screen
2. DEMO_SEL_SCREEN_USER_COMMAND
   just check out the standard sap demo program
   to know of (a)
3. for (b) u shall have to  use
  Loop at screen.
  endloop.
4. Moreover, use this loop at
   AT selection-screen OUTPUT.
5. At other events, it won't work.
Hope it helps.
regards,
amit m.

Similar Messages

  • How to get the values of a multiple radiobutton selection?

    Hi. I have the next region source:
    FOR c1 IN(SELECT rownum, ttexto_opcion, id_item FROM tb_opciones where id_prueba=:p_id_prueba) LOOP
    HTP.P(APEX_ITEM.radiogroup(1,c1.ttexto_opcion,1)||c1.ttexto_opcion);
    END LOOP;
    That query returns a list of records, group by id_item. For example:
    Option A Option B Option C (id_item=1)
    Option A1 Option B1 Option C1 (id_item=2)
    Option A2 Option B2 Option C2 (id_item=3)
    Option A3 Option B3 Option C3 (id_item=4)
    Imagine that this values has a radiobutton right next to them.
    Now, imagine that the user selected Option A, Option B1, Option C2 and Option C3. How could I get the values selected? Any ideas?
    Regards,
    Jeannine

    First off why are you concat the c1.ttexto_opcion to the radio button? there is an option to specify the text value.
    Like this
    begin
      FOR c1 IN(select empno,ename from emp) LOOP
         HTP.P(APEX_ITEM.radiogroup(1,c1.empno,1,c1.ename));
    --id, value, selected_value, display text
      END LOOP;
    end;Not sure you could with that. Is that region building the radio buttons like your example? if so, you need to change it so each "column" has its own global array
    So for column 1 (options A) you use this code
    HTP.P(APEX_ITEM.radiogroup(1,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f01 (1 being what p_id is)
    so for column 2 (option B)you use this code
    HTP.P(APEX_ITEM.radiogroup(2,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f02 (2 being what p_id is)
    so for column 3 (option c)you use this code
    HTP.P(APEX_ITEM.radiogroup(3,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f03 (3 being what p_id is)

  • Problem with TextInput and RadioButton

    Hi,
    I've encountered a problem with TextInput and RadioButtons.
    I've created some text fields and radio buttons for a
    feedback form under a movie _root.feedback.
    But for some reason, I can't seem to enter text into the text
    field (no blinking cursor), and I can't see the "label" next to my
    radio buttons.
    Just as a workaround, I tried moving these fields to _root,
    and now I can enter text and see the radio button labels.
    But to keep my hierarchy clean, I want to use a the
    _root.feedback movie for my feedback fields. Any ideas what could
    be going wrong? I checked Window -> Component Inspector, and
    these textInput fields are enabled.
    Stuck.
    Thanks.

    Is the text the same color as the background or do you need
    embedded fonts?

  • How to give inputfields for radiobuttons

    Hi all,
    I am developing one application in which i require three radio buttons for that i used radiobutton group.
    Now my requirement is to give three input fields to the corresponding radiobuttons.
    for example
    radiobutton1(name)  inputfield1
    radiobutton2(hno)     inputfield2
    radiobutton3(eid)      inputfield3
    I think u got my requirement.
    please any one can provide me the solution.
    Thanks in advance
    Regards
    Ravi

    Hello Ravi,
    Please modify the code as below
    public void onActionselectindex(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionselectindex(ServerEvent)
       //reset the input fields on each select event
             wdcontext.currentContextElement().setInput_1("");
             wdcontext.currentContextElement().setInput_2("");
             wdcontext.currentContextElement().setInput_3("");
        String selected_option = wdContext.currentContextElement().getA(); //where A is the attribute in the
                                                                           //context used as the selected key for radiobuttongroup
        if(selected_option != null)
             if(selected_option.equalsIgnoreCase("name"))
               wdContext.currentContextElement().setReadoonlypro_input_1(true);  //context attributes bound to the readonly property
               wdContext.currentContextElement().setReadoonlypro_input_2(false);  //of all the input fields.
                 wdContext.currentContextElement().setReadoonlypro_input_3(false);                           
             else if(selected_option.equalsIgnoreCase("rollno"))
                   wdContext.currentContextElement().setReadoonlypro_input_1(false);
                   wdContext.currentContextElement().setReadoonlypro_input_2(true); 
                   wdContext.currentContextElement().setReadoonlypro_input_3(false);
             else if(selected_option.equalsIgnoreCase("class"))
                   wdContext.currentContextElement().setReadoonlypro_input_1(false); //context attributes bound to the readonly property
                   wdContext.currentContextElement().setReadoonlypro_input_2(false);  //of all the input fields.
                   wdContext.currentContextElement().setReadoonlypro_input_3(true);
        //@@end
    Regards
    Sarbjeet Singh

  • How to modify a lookup field-type to use checkbox instead of radiobutton?

    How to modify a lookup field-type to use checkbox instead of radiobutton?
    I would like to modify the behavior for the lookup field.
    Normally you get a screen where it is possible to search through a lookup. The items resulted from the search are listed as radiobutton items. Therefore you can select only one at the time to be added.
    Is it possible to have the items to be listed as checkbox instead? So that you can check multiple items and therefore be able to add multiple items at the time?
    For example:
    To add the user to 10 different groups on MS-AD.
    It is desired to have the ability to check multiple groups to be added instead only one at the time.
    My client would like to use this feature in many other situations.

    Displaying will not be a big deal but with that you have to customize the action class and its working as well.

  • Report of radiobutton

    dear friends i have created two radio buttons
    1- material
    2- sales document
    and below that ther is a list box..when i click on radio buton one itshould show sattement regarding material and when i click on sales document  it should show statement regarding sales document in the list box
    but where ever i click its showing statement of sales only not material....following is my coding
    please go through it and please suggest me mmodification in my coding.
    TYPE-POOLS: VRM.
    DATA: param TYPE vrm_id,
          values TYPE vrm_values,
          value LIKE LINE OF values.
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME.
    PARAMETERS :R RADIOBUTTON GROUP RAD,
                R1 RADIOBUTTON GROUP RAD.
    PARAMETERS : P1 AS LISTBOX VISIBLE LENGTH 20 MODIF ID ONE.
                 SELECTION-SCREEN END OF BLOCK BLK1.
    AT SELECTION-SCREEN OUTPUT.
    START-OF-SELECTION.
    IF
      R = 'RAD'.
    PARAM = 'P1'.
      VALUE-KEY = '1'.
      VALUE-TEXT = 'GENERAL MATERIAL DATA'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'MATERIAL TYPES'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'UNITS OF MEASUREMENT'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'INDUSTRY FOR MATERIAL'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'MATERIAL GROUPS'.
      APPEND VALUE TO VALUES.
      ELSE.
        R1 = 'RAD'.
        PARAM = 'P1'.
      VALUE-KEY = '1'.
      VALUE-TEXT = 'SALES DOCUMENT HEADER DATA'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'SALES DOCUMENT TYPE'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'SALES DOCUMENT ORDER REASON'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'DELIVERIES BLOCKING REASON'.
      APPEND VALUE TO VALUES.
      PARAM = 'P1'.
      VALUE-KEY = '2'.
      VALUE-TEXT = 'BILLING REASON FOR BLOCKING'.
      APPEND VALUE TO VALUES.
    ENDIF.
    CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = param
          values = values
          EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.

    Hi use this code..
    tables:sscrfields.
    TYPE-POOLS: VRM.
    DATA: param TYPE vrm_id,
    values TYPE vrm_values,
    value LIKE LINE OF values.
    data:flag(2) type c.
    PARAMETERS :R RADIOBUTTON GROUP RAD user-command UCC,
    R1 RADIOBUTTON GROUP RAD .
    PARAMETERS : P1 like value AS LISTBOX  VISIBLE LENGTH 20 .
    at SELECTION-SCREEN output.
    PARAM = 'P1'.
    VALUE-KEY = '1'.
    VALUE-TEXT = 'GENERAL MATERIAL DATA'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'MATERIAL TYPES'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'UNITS OF MEASUREMENT'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'INDUSTRY FOR MATERIAL'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'MATERIAL GROUPS'.
    APPEND VALUE TO VALUES.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = param
    values = values
    EXCEPTIONS
    id_illegal_name = 1
    OTHERS = 2.
    AT SELECTION-SCREEN.
    case sscrfields-ucomm.
    when 'UCC'.
    if R = 'X'.
    flag = '1'.
    endif.
    if R1 = 'X'.
    flag = '2'.
    endif.
    endcase.
    START-OF-SELECTION.
    case flag.
    when '1'.
    PARAM = 'P1'.
    VALUE-KEY = '1'.
    VALUE-TEXT = 'GENERAL MATERIAL DATA'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'MATERIAL TYPES'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'UNITS OF MEASUREMENT'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'INDUSTRY FOR MATERIAL'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'MATERIAL GROUPS'.
    APPEND VALUE TO VALUES.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = param
    values = values
    EXCEPTIONS
    id_illegal_name = 1
    OTHERS = 2.
    when '2'.
    PARAM = 'P1'.
    VALUE-KEY = '1'.
    VALUE-TEXT = 'SALES DOCUMENT HEADER DATA'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'SALES DOCUMENT TYPE'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'SALES DOCUMENT ORDER REASON'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'DELIVERIES BLOCKING REASON'.
    APPEND VALUE TO VALUES.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'BILLING REASON FOR BLOCKING'.
    APPEND VALUE TO VALUES.
                   CALL FUNCTION 'VRM_SET_VALUES'
                     EXPORTING
                       id                    = PARAM
                       values                = VALUES.
                   EXCEPTIONS
                     ID_ILLEGAL_NAME       = 1
                     OTHERS                = 2
                   IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                   ENDIF.
    endcase.
    Edited by: swati gupta on Sep 25, 2008 10:08 AM

  • How to set the intial Value for a single radiobutton in a Radio Group

    Hi All,
    I have a radiogroup with 3 buttons. The Names of the RadioGroup are driven from a XXVO.
    3 Radion Buttons:
    * X
    * XX
    * XXX
    When the Page loads i want to make one Radio button XXX to be the default , please suggest how do i do it.
    Note : The radiobutton values are coming from VO
    Thanks

    Hi ,
    As AJ said create 3 radio buttons in ur page and assign to one radio group,,
    OAMessageRadioButtonBean appleButton3 =
    (OAMessageRadioButtonBean)webBean.findChildRecursive("GroupButtonOne21");
    appleButton3.setName("serviceAgreementGroup");
    appleButton3.setValue("RW");
    OAMessageRadioButtonBean orangeButton3 =
    (OAMessageRadioButtonBean)webBean.findChildRecursive("GroupButtonTwo21");
    orangeButton3.setName("serviceAgreementGroup");
    orangeButton3.setValue("NW");
    ---For radio button u can check in page it self.
    Regards
    Meher Irk
    Edited by: Meher Irk on Nov 23, 2010 2:47 PM

  • How to create a dynamic radiobutton in webdynpro dynamically

    HI,
    I want to create radiobutton in webdynpro dynamically.But this button in not enabled.Code:-
         IWDNodeInfo info =wdContext.getNodeInfo().addChild("RadioBUttonDymanicNode",null,true,false,true,false,false,true,null,null,null);
         IWDRadioButton rb = (IWDRadioButton)view.createElement(IWDRadioButton.class,null);
         String testAtt = "testAtt";
         info.addAttribute ("testAtt","ddic:com.sap.dictionary.string");
         rb.bindSelectedKey("RadioBUttonDymanicNode." + testAtt);
         rb.bindKeyToSelect("aa");
         rb.setEnabled(true);
         theTransContainer1.addChild(rb);
    Please suggest me how to make it enable.
    Regards
    -Sandip

    Hi Sandip,
    Try this code inside the wdModifyView(),
    if (firstTime)
            IWDRadioButtonGroupByKey radioButtonGroup =(IWDRadioButtonGroupByKey)
            view.createElement(IWDRadioButtonGroupByKey.class, "MyRadioButtonGroupByKey");
            radioButtonGroup.bindSelectedKey(<attributeName>);
            radioButtonGroup.setEnabled(true);
            IWDTransparentContainer container=(IWDTransparentContainer)
            view.getElement("RootUIElementContainer");
            container.addChild(radioButtonGroup);
    Regards
    Kishan

  • Radiobuttons: More than one block and only one RB group. Is it possible?

    Hi experts!
    Mi requirement needs to have 5 different radiobuttons in 3 different SELECTION-SCREEN block. But the point is that they need that RB needs to belong to the same radiobutton's group. Is this possible to do when I define parameters or I have to manage them by program?
    Thanks and regards.

    Dear,
    It is possible.
    Please go through the example of live program.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P1 RADIOBUTTON GROUP G1 DEFAULT 'X' .
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P3 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P4 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P5 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P6 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P7 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : SKIP.
    PARAMETERS :  P8 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : END OF BLOCK B1.
    IF P1 = 'X'.
      SUBMIT ZSD_INVOICE_DETAIL VIA SELECTION-SCREEN AND RETURN.
    ELSEIF P2 = 'X'.
      SUBMIT ZSD_SERVICE_COMM_BDC VIA SELECTION-SCREEN AND RETURN.
    ELSEIF P3 = 'X'.
      SUBMIT ZSD_INSPIRA_UPLOAD VIA SELECTION-SCREEN AND RETURN.
    ELSEIF P4 = 'X'.
      SUBMIT ZSD_SERVICE_COMM_PAYOUT VIA SELECTION-SCREEN AND RETURN.
    ELSEIF P5 = 'X'.
      SUBMIT ZSD_SERVICE_COMM_PAYOUT_BDC VIA SELECTION-SCREEN AND RETURN.
    ELSEIF P6 = 'X'.
      SUBMIT ZSD_SERVICE_COMM_CANC_BDC VIA SELECTION-SCREEN AND RETURN.
    ELSEIF P7 = 'X'.
      SUBMIT ZSD_SERVICE_COMM_REVR_BDC VIA SELECTION-SCREEN AND RETURN.
    ELSEIF P8 = 'X'.
      SUBMIT ZBDC_F02_PAYOUT_50 VIA SELECTION-SCREEN AND RETURN.
    ENDIF.
    Regds,
    Anil

  • How to handle multiple radiobutton groups in a selection screen?

    Hi All,
    I have tabbed selection screen.
    * SELECTION SCREEN                                    *
    SELECTION-SCREEN BEGIN OF TABBED BLOCK TABB1 FOR 20 LINES.
    SELECTION-SCREEN TAB (20) TAB1 USER-COMMAND TAB1
                         DEFAULT SCREEN 1010.
    SELECTION-SCREEN TAB (20) TAB2 USER-COMMAND TAB2
                         DEFAULT SCREEN 1020.
    SELECTION-SCREEN END OF BLOCK TABB1.
    I have a radiobutton group in each of my tabs in the selection screen.
    SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK GUI WITH FRAME." TITLE TEXT-GUI.
    PARAMETERS: P_GUI1 RADIOBUTTON GROUP GUI,
                P_GUI2 RADIOBUTTON GROUP GUI,
                P_GUI3 RADIOBUTTON GROUP GUI,
                P_GUI4 RADIOBUTTON GROUP GUI,
                P_GUI5 RADIOBUTTON GROUP GUI,
    SELECTION-SCREEN END OF BLOCK GUI.
    SELECTION-SCREEN END OF SCREEN 1010.
    SELECTION-SCREEN BEGIN OF SCREEN 1020 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK REP WITH FRAME." TITLE TEXT-REP.
    PARAMETERS: P_REP1 RADIOBUTTON GROUP REP,
                P_REP2 RADIOBUTTON GROUP REP,
                P_REP3 RADIOBUTTON GROUP REP.
    SELECTION-SCREEN END OF BLOCK REP.
    SELECTION-SCREEN END OF SCREEN 1020.
    The issue is I want to be able to process only one of the tabs based on the checked radiobutton, but by default both the groups will have one of the radiobuttons checked. My piece of code is something like this.
    data : c_selected(1) value 'X'.
    case c_selected.
    when P_GUI1.
    * Process GUI 1
    when P_GUI2.
    * Process GUI 2
    when P_GUI3.
    * Process GUI 3
    when P_GUI4.
    * Process GUI 4
    when P_GUI5.
    * Process GUI 5
    when P_REP1.
    * Process Report 1
    when P_REP2.
    * Process Report 2
    when P_REP3.
    * Process Report 3
    endcase.
    How do I acheive this?
    Karthik
    Edited by: Karthik Boyapalli on Jun 16, 2008 9:10 PM

    The issue is I want to be able to process only one of the tabs based on the checked radiobutton, but by default both the groups will have one of the radiobuttons checked. My piece of code is something like this.
    You will be able to process the Radiobutton based on the tab. Use the sy-ucomm to determine the TAB that is selected on the selection screen. Then you can do further processing based on the radio button selected.
    Only one TAB will be available for User Interaction so there will be no issue with processing based on the radio button

  • Please Help(How to get RadioButtons in tree View)

    Hi.
    Sub/Requirement: How to implement RadioButtons in tree view with/without using xml file.
    I have a requirement like this i want to display RadioButton in tree view.
    I implemented tree same as which is given in sampleApplications.
    In this sampleApplications they implemted tree by using xml file.
    I also implemented tree by Generating xml file. In this xml file i get the values from the database. I am using <netui:tree > tag.
    Is it possible to implement tree without using xml file. I need to generate tree Dynamically.
    Please any one help me to come out with this solution.

    The issue here is while you are retrieving all the details, you are consistently overwriting them in the request.setAttribute() call before you get to the JSP to display them.
    Do you actually have a class/object called Student?
    That object should have attributes for classes, subjects, teachers (all of which are lists apparently)
    public class Student{
      String name;
      List classes;
      List subjects;
      List teachers;
      // appropriate getter/setter methods
    }Then you load each student, and populate its individual lists.
    That lets you pass the list of students, each student having its own lists for display.
    Hope this helps,
    evnafets

  • How to add radiobutton in table control

    dear all
    i want to add radiobutton in table control and want to select the corresponding data
    & display that selected data in another screen
    please guide.
    Moderator Message: Please search for available information before posting.
    Edited by: kishan P on Jun 3, 2011 4:08 PM

    Hi,
    Go through the below link.
    <<link removed by moderator>>
    Hope it will be useful to you.
    Edited by: kishan P on Jun 3, 2011 4:07 PM

  • How to use radioButton(s) and image controls on windows phone 8.1

    how to use radioButton(s) and image controls on windows phone 8.1

    Hi aspirantme,
    >>how to use radioButton(s) and image controls on windows phone 8.1
    Which version of your app is? Runtime or Silverlight?
    For Runtime version, please see the following articles:
    #RadioButton class
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.radiobutton(v=win.10).aspx
    #How to add radio buttons (XAML)
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868200.aspx
    #Image class
    https://msdn.microsoft.com/library/windows/apps/br242752.aspx
    For Silverlight version, please refer to the following documents and guidelines:
    #RadioButton Class
    https://msdn.microsoft.com/en-us/library/windows/apps/system.windows.controls.radiobutton(v=vs.105).aspx
    #RadioButton control design guidelines for Windows Phone
    https://msdn.microsoft.com/en-us/library/windows/apps/hh202881(v=vs.105).aspx
    #Image Class
    https://msdn.microsoft.com/en-us/library/windows/apps/system.windows.controls.image(v=vs.105).aspx
    #Quickstart: Images for Windows Phone
    https://msdn.microsoft.com/en-us/library/windows/apps/jj206957(v=vs.105).aspx
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help regarding radiobutton text in Adobe Forms

    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="nodes">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="node">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="PName" type="xs:string" />
                  <xs:element name="IsRegistered" type="xs:boolean"  />
                  <xs:element name="Gender" maxOccurs="unbounded" type="GenderType" />
                  <xs:element name="QT" type="xs:string" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:simpleType name="GenderType">
        <xs:restriction base="xs:string">
          <xs:pattern value="([A-Z,a-z])*" />
          <xs:minLength value="0" />
          <xs:maxLength value="6" />
          <xs:enumeration value="Male" />
          <xs:enumeration value="Female" />
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>
    I’m trying to generate a PDF form using a schema(above) and xml file(based on this xsd) using LiveCycle Designer. I have embedded the xml schema in pdf file by creating a Data Connection using this xsd file. I can generate different type of form controls by importing the xml file(based on this xsd) in PDF file using Acrobat 9.0 menu Forms > Manage Form Data > Import Data.
    What I can’t figure out is how can I generate radio button's text/label based on data in xml? The Gender enumeration that I have used becomes hardcoded in design time and there can’t be more radio buttons than that specified in the Gender enumeration in the xsd. Also even though I have specified the text for the radiobutton in the xsd I have to specify it again while designing the form using Adobe Live Cycle Designer. This is like hardcoding the radiobutton text during design time. How do i read the radiobutton text from the xsd file only ???
    I want the number of radio buttons and their labels to be generated based on data
    from xml.
    For e.g. if my xml is:
    <node>
    <rbType>Option1</rbType>
    <rbType>Option2</rbType>
    <rbType>Option3</rbType>
    </node>
    ,then there sould be 3 radio buttons with labels as Option1, Option2 and Option3. If there are only 2 'rbType' tags, then only 2 radio buttons with respective labels.
    Any help\suggestions is appreciated. Thanx
    Sunit.

    Use
    <b>
    instead of
    <strong>
    See http://partners.adobe.com/public/developer/en/xml/xfa_spec_2_5.pdf -> Part 3 -> Rich Text Reference for a list of supported xhtml tags.
    Sebastian

  • How to change the text of a RadioButton in JDeveloper 11.1.2.0.0

    How to change the text of a RadioButton in JDeveloper 11.1.2.0.0

    Select the radio button, open the property inspector (ctrl+shift+i) select the 'Visual' tab and search for the 'Text' property. There you can change the text.
    Timo

  • Radiobutton in report painter

    hi experts,
    i would like to ask on how to create a radio button in report painter selection screen.
    thanks.

    Hi,
    Try with following piece of code.
                       SELECTION CRITERIA                                *
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME .
    SELECT-OPTIONS: s_date  FOR /obiz/zxp_shphd-bol_date. "OBLIGATORY.
    SELECTION-SCREEN: END OF BLOCK b1.
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS : prm_rec  RADIOBUTTON GROUP radi,
                              prm_nre  RADIOBUTTON GROUP radi.
    SELECTION-SCREEN: END OF BLOCK b2.
    Regards,
    Aravind J M

Maybe you are looking for

  • Cannot use the Tether Feature w/ Nikon D700 in Windows 7 Pro 64?

    Just upgraded Lightroom from 2.7 to 3.0, then to 3.3. Am using a Nikon D700 with Windows 7 Pro 64bit. Windows does see the camera, Lightroom does not see the camera. This same camera and USB cable do work fine on my MacbookPro snow leopard. i have se

  • Connection familiar name/description in 3.2.10.09.57

    Hi, I just downloaded 3.2.10.09.57. And, I'm setting up my preferences and connections. I usually have about 6-8 connection names for our database (production plus several test beds). So in the past I've named them something like this: AA - PROD 8.5.

  • Something ia going on with FM Stations via Zen Mi

    Hello, I have this problem since i upgraded the firmware of my Zen Micro. Before upgrading, when i was listening to a radio station (let's say 96.90, which i had saved as preset) and for accident i "touched" the forward button, and got at 96.95, then

  • App Request - Reset Statistics

    Hello, I'm not a programmer and don't understand all that stuff but can someone write a simple app that on a certain date and time (user input) that the usage statistics can be reset automatically? Can't seem to find anything like this. Thanks Alan

  • Ideapad S210 Touch camera not working

    Hi, I brought ideapad S210 Touch on 1st of oct 2013, first time I have opened camera application but it says connect a camera, i checked in device manager there is not imaging services device installed. Please some on help to resolve my camera. Thank