Effective use of Radio Buttons In dealing with input fields.

Hello All
Based on the selection made in the radio buttons, is it possible to either hide or display particular field(ex: a MessageTextInput field) in an ADF UIX form Page. If yes can anyone help me out onhow to accomplish this task. Thanks in Advance.
Regards,
Arun.V

Hi Roeland,
can you explain in detail what exactly needs to be done?
'copy a range to a specific area on change (see the first data tab, the large white field). '
I am assuming 'The large white field' you have mentioned is 'Data Insertion' in 'General tab'
This section contains Series. I have created two series 1. Yes 2. No
Now what will be the 'Insertion Type' value so that if I select 'Yes' then 4 columns will be copied and for 'No' 2 columns will be copied.

Similar Messages

  • Radio buttons in dynpro with mandatory field

    I have two radio buttons in a group and a field that should be mandatory when one (the first one) is checked.
    So when the other is checked it should not be mandatory.
    The problem is that when I check the second the field is mandatory until I have put something in the field. In that moment, the field is not mandatory. What I want is to make the field not mandatory when the second is checked so the status of the field was changed to not required in that moment not when I put something in it.
    Thank you

    Hi Maria,
    I think you have two possibility.
    One is to check the "mandatory field" by programming and not with the attribute in the dynpro.
    The second way is making a loop at screen in the PBO and depend on with radio button is checked modify the required field of screen table for the field of your interest .
    I hope this can help you.
    bye
    enzo

  • Using the radio button component to go to a frame on a MovieClip

    hello,
    I am using the radio button component in Flash with a continue button.
    When the user clicks their option in the radio button and then clicks continue, I want it to go to a movieClips Specific frame.
    Here is the breakdown and the script I have so far is below.
    The radio group os named RadioButtonGroup
    The instance names for each of the three options are noviceButton,intermediateButton,expertButton
    My continue button has an instance name of continueButton
    and my movie clip I am trying to target has an instance name of level_mc
    here is my code so far:
    continueButton.enabled=false
    noviceButton.addEventListener(MouseEvent.CLICK, revealContinue);
    intermediateButton.addEventListener(MouseEvent.CLICK, revealContinue);
    expertButton.addEventListener(MouseEvent.CLICK, revealContinue);
    function revealContinue(evt){
        continueButton.enabled=true;
    continueButton.addEventListener(MouseEvent.CLICK, clickContinue);
    function clickContinue(evt){
    var frameNumber=mc_levels.Number(noviceButton.group.selectedData)
    gotoAndStop (frameNumber);
    the problem starts with my varFrame line-I don't know how to get it to go to the movieClip and gotoAndStop at a specific frame, based on which radio button was clicked and after the continue button is clicked.
    Does anyone out there have any ideas?
    thanks
    babs

    use:
    continueButton.enabled=false
    noviceButton.addEventListener(MouseEvent.CLICK, revealContinue);
    intermediateButton.addEventListener(MouseEvent.CLICK, revealContinue);
    expertButton.addEventListener(MouseEvent.CLICK, revealContinue);
    function revealContinue(evt){
        continueButton.enabled=true;
    continueButton.addEventListener(MouseEvent.CLICK, clickContinue);
    function clickContinue(evt){
    var frameNumber=mc_levels.Number(noviceButton.group.selectedData)
    level_mc.gotoAndStop (frameNumber);

  • Using a radio button to populate another group of radio buttons?

    I am new to Adobe forms and new to Javascript. I have a question on my form with a radio button group (PHQ) with four choices 1, 2, 3 or 4. If the user chooses "1", I want a check to appear in the "No" box for another radio button group (Screen). If, on the other hand, the user chooses 2, 3, or 4, from the PHQ group, I want a check to appear in the "Yes" box of the Screen group. Is this possible? Not sure how to go about doing this.

    I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm.  Get the most simple case working then add the javascript, css, and CF code to make your application work.
    <!--- contents of input.cfm --->
    <html>
    <head>
         <title>Input</title>
    </head>
    <body>
         <form action="action.cfm" method="POST">
              Choose type: <br />
              <input name="type" type="radio" value="male" />     Male<br />
              <input name="type" type="radio" value="female" /> Female<br />
              <input type="submit" />
         </form>
    </body>
    </html>
    <!--- content of action.cfm --->
    <html>
    <head>
         <title>Action</title>
    </head>
    <body>
         <cfif form.type eq "male">
              Type is male.
         <cfelseif form.type eq "female">
              Type is female.
         </cfif>
         Here is a cfdump of the form variables:<br />
         <cfdump var="#form#" />
    </body>
    </html>
    Message was edited by: JR "Bob" Dobbs
    Added sample for action.cfm

  • Using radio buttons to populate a text field

    Hi
    This is my first time creating Adobe Forms and my first time using JavaScript as well. One of the questions on my form asks about Ethnicity and I have about 15 choices for which I created radio buttons. I want the user's choice to populate a textfield, but am not sure how to write the code that will do this. Any help would be greatly appreciated. Thanks

    If you set the export value (aka Button Value, Radio Button Choice) of each radio button to the text you want to show up in the text box, the custom calculate script for the text box, which you should set to read-only, can be simply:
    (function () {
        // Get the value of the radio button group, as a string
        var s = getField("Ethnicity").valueAsString;
        // Set this field's value to the text associated with the selected radio button
        event.value = s === "Off" ? "" : s;
    If none of the radio buttons is selected, the text field will be blank. Change "Ethnicity" above to the actial name of the radio button group.

  • How to write a numeric value to a plc register using a radio button

    I'm want display a HOA (HAND/OFF/AUTO) on my screen. Lookout is connected to a Allen Bradley PLC. I am trying to write to a "N" register. I want to write a zero to open all (eg) N7:10 bits, writing a one (1) will close a contact N7:10/0 and writing a two (2) will close N7:10/1 etc. How do I do it? Can I use a radio button and if so, how?

    ICI,
    Just wanted to let you know that you have posted your question in the
    MATRIXx part of the forum.  There is a specific board for
    Lookout.  If you repost your message there you will be more likely
    to get a good answer.
    Carl L
    National Instruments

  • How to use a radio button in enabling/disabling a text box in report progra

    Hi,
        Could any please let me know, how to use a radio button in enabling/disabling a text box in report program.

    *& Report  ZMR_RADIO_BUTTONS
    REPORT  ZMR_RADIO_BUTTONS.
    PARAMETERS : R1  RADIOBUTTON GROUP G1,
                 R2  RADIOBUTTON GROUP G1.
    PARAMETERS : A1 TYPE I,
                 A2 TYPE I.
    AT SELECTION-SCREEN OUTPUT.
    *initialization.
    IF R1 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF R2 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    modify screen.
    ENDLOOP.
    ENDIF.
    START-OF-SELECTION.
    *IF R1 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 1.
    ENDIF.
    *ENDLOOP.
    *ENDIF.
    *IF R2 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 0.
    ENDIF.
    *ENDLOOP.
    *ENDIF.

  • Get the row of a department in a popup using a radio button

    I have a use case. A page will be displayed with a button. User will click on that button, and then a popup will be displayed showing the table of departments. User will select the desired radio button. After that, the popup will close and the list of employees should get displayed in the page.
    I have written a method in the valuechangeevent property of the radio button (autosubmit is also set as true), but still I am not able to get the current row. I actually need the value of departmentid.
    Can anyone guide me?
        public void onClickRadio(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            System.out.println("onClickRadio Begins");
            hidePopup("p1");
            DCBindingContainer bc =
                (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding iter =
                bc.findIteratorBinding("DepartmentsView1Iterator");
            Row row = iter.getCurrentRow();
            Number departmentId = (Number)row.getAttribute("DepartmentId");
            System.out.println("departmentId: " + departmentId);
            OperationBinding method =
                (OperationBinding)bc.get("displayEmployeeTable");
            method.getParamsMap().put("departmentId", departmentId);
            method.execute();
            AdfFacesContext.getCurrentInstance().addPartialTarget(empTable);
            System.out.println("onClickRadio Ends");
        }JDev 11.1.1.6

    This is the code of the popup.
            <af:popup id="p1" contentDelivery="lazyUncached">
              <af:dialog id="d2" type="none">
                <af:table value="#{bindings.DepartmentsView1.collectionModel}"
                          var="row" rows="#{bindings.DepartmentsView1.rangeSize}"
                          emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.DepartmentsView1.rangeSize}"
                          rowBandingInterval="0"
                          selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
                          rowSelection="single" id="t1">
                  <af:column sortProperty="Radio" sortable="false" id="c1"
                             width="20">
                    <af:selectBooleanRadio value="#{row.Radio}" id="ot3"
                                           valueChangeListener="#{myBean.onClickRadio}"/>
                  </af:column>
                  <af:column sortProperty="DepartmentId" sortable="false"
                             headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                             id="c2">
                    <af:outputText value="#{row.DepartmentId}" id="ot2">
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
                    </af:outputText>
                  </af:column>
                  <af:column sortProperty="DepartmentName" sortable="false"
                             headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
                             id="c3">
                    <af:outputText value="#{row.DepartmentName}" id="ot1"/>
                  </af:column>
                </af:table>
              </af:dialog>
            </af:popup>I think that when I select the radio button, the value might be getting true of the column, but this isn't setting the current row.
    Also in the log I am getting these messages:
    <SimpleSelectBooleanRadioRenderer> <renderGroupAttribute> The selectBooleanRadio component's group attribute is null. It must be set to a non-null value for the selectBooleanRadio component to function properly. The selectBooleanRadio component is meant to be used with other selectBooleanRadio components with the same group value.

  • Hidden, Visible and back to Hidden using a radio button

    Ok this might be really simple for someone to answer.
    I have a radio button I'm using to toggle between two list boxes with multiple lines of text (hidden and then visible). Here's the problem, when I toggle the radio button back and forth I have both list boxes displaying thier notes at the same time. I would like to have the radio button display one messages at a time when you toggle between them. Here is my script.
    Radio Button named Violation:
    form1.#pageSet[0].Page1.#subform[0].action[1].Violation::click - (JavaScript, client)
    if (this.rawValue == null) {
         Notes.presence = "hidden";
    else {
         Notes.presence = "visible";
    Radio Button named Suspension:
    form1.#pageSet[0].Page1.#subform[0].action[1].Suspension::click - (JavaScript, client)
    if (this.rawValue == null) {
         Notes2.presence = "hidden";
    else {
         Notes2.presence = "visible";

    Notes and Notes2 are list boxes. Violation and Suspension are radio buttons. Is that correct? If so, are Violation and Suspension in an exclusion group?
    Is this the requirement, Violation should display Notes and hide Notes2 and Suspension should hide Notes and display Notes2?
    Steve

  • Autofill a radio button using other radio buttons

    I would like a question on my form "Q24 Decrease Smoke" (set of "Yes"/"No" radio buttons) to auto fill with a response of "No" if the user selects "Not at all" to 3 other questions (also sets of radio buttons).  If the user selects any other response to any of these 3 questions, I want the user to be able to manually select either "Yes" or "No". This is the code that I've tried, under the Mouse Up event of the "No" radio button option for Q24:
    var a = getField("Q20 Smoke Cig").value;
    var b = getField("Q22 Smoke other forms").value;
    var c = getField("Q23 chew/snuff").value;
    if(a=="Not at all" && b=="Not at all" && c=="Not at all") event.value = "On";
    I'm new to Javascript, so am not entirely sure I am on the right track or what might be wrong here. Any help would be greatly appreciated. Thanks!

    Have you tried to the set the value to to "No"?
    The "Mouse Up" action only works when there is a "Mouse Up" action for the field.
    I would look at using the script in the 'On Blur" action for the 3 fields with adjustments for the fields as needed for the field where the script is used.

  • Windows Deployment Service. Network Profile Radio Buttons greyed out with R2

    Hi All
    I have downloaded and setup Server 2008 R2 (not yet activated). I have added the following roles "DHCP Server", "DNS Server", "Active Directory Domain Services" and "Windows Deployment Services". I can PXE boot a test client machine and (using the boot.win from windows 7 dvd) multicast a XP Image to it. This setup is connected via a 100 Mb switch and is an isolated network. 
    Under windows deployment services - if I right click my server - select properties - network tab "Network Profile is greyed out". I have tried running wdsutil /Set-TransportServer /Server:big /Profile:100Mbps but get the following error message: "Windows Deployment Services Management Utility Version 6.1.7600.16385. Error code 0xC110011F This WDS transport server does not support network profiles.
    I have tried this on two hardware setups:
    An Intel D915GUX 3GHz 2GB RAM and Marvel Yukon 88E8050 ethernet controller.
    An Intel D965 Core2Duo 1.86GHz 2GB RAM and  Intel 82566DM Network controller.
    Incidently I have done the same setup with Server 2008 (not R2) on the D965 and the Network Profile radio buttons are not greyed out. If I upgrade the same test machine to server 2008 R2 the Network Profile radio buttons are greyed out. Is this a design change, does Server 2008 R2 no longer support network profiles as I am now unable to select 10 100 or 1000 Mbs ?
    If more information is required or if anything needs further detail please let me know.
    Thanks for any help.
    Liam.D

    Is there any way at all to manually set or control the network profile? In my environment, a SCCM\WDS multicast stream is bottoming out on speed and network utilization when the stream crosses a Nexus 7009 router. Speeds go from 200 Mbps to 20 mbps. I have
    a theory that this "new" automatic configuration is placing the clients in a slow network profile that are on the opposite side of the router and I have been unable to find a way to speed of the transmission. I have also ruled out the "master
    client" slowing down the stream buy using different clients only connecting to a stream 1 at a time. I have also ruled out the router as the source of the problem by having a VLC client listen to the multicast stream on the same side of the router as
    the slow clients. The VLC client (unknown to SCCM\WDS) was able to receive the transmissions at 20 % utilization / 200 Mbps.
    -Tony

  • Use of radio button in presentation..

    How do we use radio buttons in a presenattion?
    What is the refrenced type for that? Can it be enum only?
    If this is so how do we catch the value selected by the user through screenflows or code in a process?

    Frequently you need to choose among few values to set an BPM Object attribute that represents for instance Levels - High, Medium, Low -, Position - Top, Bottom -, etc. In these cases a Radio Button is very useful to show it.
    The attribute should be set as Int with Valid Values, with this option you can associate each valid value with a description.
    Unfortunately you can use enumerations but if you use BPM Object attributes you could return the selected value from the presentation to the process.
    The BPM Object that you use in the interactive activity should be a ScreenFlow variable and get its attributes from the end activity to set a returned value.
    Hope that helps you.

  • Regarding use of radio button

    Dear All,
       I add two radio button in my form. And they work. One button for 'male' and another for 'female'.
    When i click male button then it sends '1' to database in the respective field and
    when i click female button then it sends '2' to database.
    But i need 'M' for male and 'F' for female.
    what is the solution.
    Good day.
                                                                                  Regards
                                                                 Bodhisatya Bhattacharjee

    Try something like this for the first Option button ...
            Dim oOptionBtn As SAPbouiCOM.OptionBtn
            With oItem
                .Left = 100
                .Top = 100
                .Width = 50
                .Height = 20
                oOptionBtn = .Specific
            End With
            With oOptionBtn ' data bind
                .Caption = strCaption
                .ValOn = 'M'
                .ValOff = 'F'
                If Len(strGroupWith) > 0 Then .GroupWith(strGroupWith) ' Use tihis to group the option buttons
                If Len(Trim(strFieldName)) > 0 Then .DataBind.SetBound(True, "", "FIELD1")
            End With
    and then set the
    ValOn = 'F'
    and .
    ValOff = 'M'
    for the other button.
    hope it works for you
    null

  • Problem getting check boxes and radio button to click with applescript

    This is my script, it runs through without error, i can see the check box lightly flash like its being focused in on, but it wont actually check mark the box. it does this with all my check boxes and radio buttons.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12
    key code 125
    key code 125
    key code 124
    key code 125
    key code 125
    key code 36
    delay 1
    end tell
    tell window "Variable Links"
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell

    Hi craneium and welcome
    For me this script fails, going through it step by step it seems confused, as I have highlighted out in the below code.
    where is the window "Variable Links, may be I can help.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12 --opens spotlight search in help
    key code 125 -- highlights indesign help
    key code 125 -- highlights welcome screen
    key code 124 -- goes to apple
    key code 125 -- goes to about this computer
    key code 125 -- highlights software update
    key code 36 -- starts software update
    delay 1 -- ?
    end tell
    tell window "Variable Links" -- error cant get window variable links
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell
    Budgie

  • How do I use a push button digital trigger with my 6034E DAQ board?

    I am only a Lab View toddler.
    I am currently using a push button, wired to PFIO/TRIG1 and DGND, with a anolog trigger. However noise is causing my program to be triggered. I was told that a digital trigger would help to reduce the random triggering. How do I create a push button digital trigger?
    Thanks

    implement a schmitt trigger.
    Struggling with Labview wrote in message
    <[email protected]>...
    >I am only a Lab View toddler.
    >I am currently using a push button, wired to PFIO/TRIG1 and DGND, with
    >a anolog trigger. However noise is causing my program to be triggered.
    >I was told that a digital trigger would help to reduce the random
    >triggering. How do I create a push button digital trigger?
    >Thanks

Maybe you are looking for

  • HT4623 Can not get camera of photo to take video anyone have an answer

    My iPad camera will not let me choose video. It won't go off photo. Any suggestions will be greatly appreciated.

  • Recurring message "Do you want to allow the following program to make changes to this computer"

    Operating System: Windows 8  Printer: HP Photo Smart 6520 e All-In-One   Whenever I click on the icon on the desktop I get "Do you want to allow the following program to make changes to this printer" if I click yes the connection setup window pops up

  • CPPR + DMS

    Hi Experts, SRM 7 EHP 1 ECC 6 EHP 5 PPS scenario using CPPR We have attachments at PR line item level. The attachments are through DMS. Through CPPR we are trying to create a RFx directly from the PR. We are using PI. Please let us know if there is a

  • How to display the customer VAT TIN number in the PLD

    Hi All,         Can anybody tell me how to get the customer's VAT TIN number in the PLD.         Plz help me, i will reward u with max points. Thanks, Suresh Yerra

  • Note on compatibility

    Hello, We hope you are able to successfully install and use these new Add-ons for Workbench The Archive file is intended for Workbench ES2 (version 9.0.0 GM). Some folks have reported problems applying the Add-ons to a Workbench environment that is a