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!

Similar Messages

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

  • Is "AutoPostback" property valid for Radio button control in RCDC

    Hi,
    I have been trying to add "Autopostback" property to a radio button control, but it doesnt seem to be working.
    Below is the code:
    <my:Control
    my:Name="Activation"
    my:TypeName="UocSimpleRadioButton"
    my:Caption="{Binding
    Source=schema, Path=ADActivation.DisplayName}"
    my:Description="{Binding
    Source=schema, Path=ADActivation.Description}"
    my:AutoPostback="true"
    my:RightsLevel="{Binding
    Source=rights, Path=ADActivation}">
    <my:Properties>
    <my:Property
    my:Name="TrueText"
    my:Value="ADActive"/>
    <my:Property
    my:Name="FalseText"
    my:Value="NotActive"/><my:Property
    my:Name="SelectedItem"
    my:Value="{Binding
    Source=object, Path=ADActivation, Mode=TwoWay}" /></my:Properties></my:Control>
    Dolly

    Dolly,
    What do you expect the AutoPostback property to do?
    AutoPostback: This is an optional,
    Boolean-type attribute. The default value is false.
    If set to false, refreshing
    the page may not refresh the control. For information about AutoPostback,
    look for the Microsoft ASP.NET UI control property of the same name. -- FIM RCDC Reference
    According to MSDN:
    Set this property to true if the server needs to capture the selection as soon as it is made. For example, other controls on the Web page can be automatically filled depending on the user's selection from a list
    control.
    This property can be used to allow automatic population of other controls on the Web page based on a user's selection from a list.
    Blain Checkley illustrates its use with his blog post: http://identityminded.wordpress.com/2011/10/14/fim2010-semi-dynamic-rcdc-operations/
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • How do I make a radio button control change automatically with time?

    Hello everybody
    I have a radio button selection with 4 options (Line A, B, C, D) which controls a number of valves depending on which line is sampled. Right now I have to do this selection manually but the proccess requires that each line is sampled for 15 seconds.
    Is there a way to do this automatically, meaning when I press a button (e.x. START) radio selection goes to Line A, after 15 seconds to line B, after 15 seconds to Line C, after 15 seconds to line B, after 15 seconds to Line D, and then from the beginnining to line A, B, etc..., until I press the stop button.
    Any help is appreciated
    Thanks for your time

    Hi evdo,
    'tst' is right. The "Radio Buttons" control from the "Boolean" palette
    is basically an Enum. You can add or remove elements as you want and
    only one element can be TRUE at any time (just as the Enum only can
    have one selected item at any time). Just copy and paste the radio
    buttons within the frame to add more choices/elements.
    I created a small example that takes tst's example a little further. I
    implemented the four choices and added an Event Structure for better
    timing. Give it a try and let me know what you think, thanks.
    Have fun!
    Message Edited by Philip C. on 07-06-2005 10:05 PM
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    Radiogaga.PNG ‏14 KB
    Radiogaga.vi ‏25 KB

  • 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

  • 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

  • Event based radio button control

    Is there an easier way to write this code and keep the same functionallity?
    Solved!
    Go to Solution.
    Attachments:
    Screenshot 2014-10-20 09.56.54.jpg ‏81 KB
    Screenshot 2014-10-20 09.56.541.jpg ‏139 KB
    RADIO BUTTON EXAMPLE.vi ‏14 KB

    Thanks for the replies. Sorry if I was not clear. The indicators (big) are only indicative of the function I was looking for. I am having to send a radio button control signal down through a class - actor loop from the UI to the RealTime control on cRIO and back to the UI. The loop and communication I have done but for some reason the radio button has a weird functionality where it only shows one true/false value through the loop and back up to the UI.
    meaning - 
    in the example the radio button has two controls radio 1 and radio 2. when they switch between the two I get the true/false value of only radio 2. so it signals radio 2 is true when radio 2 is on, and radio 2 false when radio 1 is on. As seen with a probe on the array wired into the for loop.
    the value does change on NewVal line between radio 1 and 2 but when it is broadcast to the cRIO it shows only the value of radio 2 as being true/false. This is fine for the output channel as they energize correctly. (two different outputs) but It does not allow me to use the broadcast data back to the UI in the same way as if it were two booleans, not one radio button.
    so in short I was trying to figure out a way to get the radio button to act llike a radio button on the front panel but act like two booleans on the return trip...
    I hope that makes sense. Unfortunately, I can't supply code for the program (proprietary development) hence the example of functionality. (pretend the indicators are on the return loop)

  • Using CheckBox / Radio-Button Control in Dialog Program

    Dear Friends,
    Please let me know the way to use check-box / radio-button control in dialog programs. Where & how to define them & write the logic.
    If possible provide a small example.
    Regards,
    Alok.

    Hi,
    goto tcode abapdocu.. abap user dialogs - screens-processing screens you will get examples for all --pushbutt6ons radiobutton checkboxes everything
    <b>here is a sample code for you</b>
    PROGRAM demo_dynpro_check_radio .
    DATA: radio1(1) TYPE c, radio2(1) TYPE c, radio3(1) TYPE c,
          field1(10) TYPE c, field2(10) TYPE c, field3(10) TYPE c,
          box TYPE c.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    CALL SCREEN 100.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'RADIO'.
          IF radio1 = 'X'.
            field1 = 'Selected!'.
            CLEAR: field2, field3.
          ELSEIF radio2 = 'X'.
            field2 = 'Selected!'.
            CLEAR: field1, field3.
          ELSEIF radio3 = 'X'.
            field3 = 'Selected!'.
            CLEAR: field1, field2.
          ENDIF.
        WHEN 'CANCEL'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.
    <b>flow logic:</b>
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
      MODULE user_command_0100.
    regards,
    pankaj singh.
    <i><b>
    reward if helpful</b></i>

  • How do I disable one item in a radio buttons control at run time

    I need to disable one item in a radio buttons control. At design time
    this is possible, but how do I do this at run time? Is this possible? I
    cannot find a property per item

    Use the property "Controls[ ]" - this gives you an array with references of each single button in the radio buttons control. These you can access with property nodes too.
    Hope this helps.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Do not have a "list all tabs" button - instead I have a button that brings up SHOWCASE

    do not have a "list all tabs" button - instead I have a button that brings up SHOWCASE, which is not the same as TAB GROUPS

    Do you have this extension installed?
    https://addons.mozilla.org/en-US/firefox/addon/showcase/

  • Group Radio buttons controlling input fields

    Hi All ,
    I have 3 radio buttons which is grouped in teh form component . beside the 3 radio buttons i have 3 input fields , now i when i click the first radio button the input field beside the radio button should input enabled , rest of the input fields should be disabled ,
    Please share your ideas!!
    Thanks,
    Pradeep.

    Harsha ,
    This is the code in mu get_def method
    APPEND INITIAL LINE TO et_action_definition ASSIGNING <ls_action_definition>.
       <ls_action_definition>-id = 'ADDROW'.
       <ls_action_definition>-action_type = if_fpm_constants=>gc_action_type-validation_independent.
       <ls_action_definition>-imagesrc = '~Icon/AddRow'.
       <ls_action_definition>-VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
       <ls_action_definition>-enabled = abap_true.
    I need the buttons in my list as below
    And in List UIBB i have added 2 buttons
    in the get def i am getting 2 records for add and del but dont know why i am not getting the buttons on screen .
    i have a edit page screen in that i have 2 UIBB , 1st Form UIBB and 2nd LIST UIBB , but when i click the form UIBB its showing as section 1, and the LIST UIBB also in the section1 , i don't think it will be the issue .

  • Can you control layer visibility via AS 3.0 ?

    I am new at flash.. but I can't seem to find this answer. I
    am building an app with 2 panels. A control/preferences panel and
    the main panel for the app. How can I control the visibility of
    each panel via AS 3.0 ? So if a user
    hits a button, up comes the preference layer. user closes
    this window. then back to the main layer.
    thanks a ton!
    mike

    Layers mean nothing to Actionscript -- they are merely a tool
    to help organize authortime created content. At publish they are
    use by the compiler to assign things to depths and then they go
    away. In a publish file there are no layers.
    The dominant paradigm in Flash (with respect to Actionscript)
    was the MovieClip. Now it is more the DisplayObjectContainer and
    the various classes that decend from there -- Sprite and MovieClip
    being most likely. I'm not as up on my AS3 as my AS2, so I might
    overlook a bit, but that is the general idea.
    So if you have a "panel" (we can't tell you what that is, you
    have to ell us!) and it is something distinct that needs
    controlling you should probably make it a MovieClip (if it has a
    timeline) and a Sprite if it is AS generated. Also each distinct
    type of those would maybe need its own external class to give it
    the methods and properties you would need to control and interact
    with it.

  • InDesign button changes layer visibility?

    Hi all,
    I'm in InDesign CS4. I want to produce an 8-page PDF online publication that contains a tutorial about InDesign (what else?!)
    Also, imagine a JavaScript Button object on the bottom of each page that, when clicked, shows a layer of graphics for Windows screenshots, and when clicked again, shows a layer of Mac OS X screenshots.
    So the text stays the same, but the button would change between accompanying Mac or Windows screenshots. How cool would that be?!
    I see in the button panel, that I can choose from things like close, exit, goto anchor, next page, previous page, URL, movie, sound, view zoom...
    But can the button be made to hide or show a layer of graphics in the PDF (assuming an Acrobat version at least v6 or newer).
    Does that have to be done in Acrobat Pro? Can it be done at all?
    Mike Witherell in Maryland

    Mike,
    Layer visibility changes can only be done within Acrobat.
    Show/Hide fields can be done within ID.
    Yes, if you screw up a button in ID, you can change it in InDesign, but I warn you, the interface for buttons in Acrobat is much different than ID and even the most simple button action becomes very complicated in Acrobat.

  • How to control layer visibility dynamically

    hi
    i want to show a button at some specific condition
    i search till i found that the layer has visibility property
    i put the button on that layer
    i try to control it by form posted variable to control the
    visibility.. but the layer didn't changed !!!
    if there is any way to make some place on the page visible
    and unvisible other than this i need it
    thanks in advance.

    What server model is your dynamic variable using (ASP, CF,
    etc.)?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "macnux" <[email protected]> wrote in
    message
    news:erbb5n$1i9$[email protected]..
    > hi
    > i want to show a button at some specific condition
    > i search till i found that the layer has visibility
    property i put the
    > button
    > on that layer
    > i try to control it by form posted variable to control
    the visibility..
    > but
    > the layer didn't changed !!!
    >
    > if there is any way to make some place on the page
    visible and unvisible
    > other
    > than this i need it
    >
    > thanks in advance.
    >

  • One pair of radio buttons to control multiple text objects - Designer 8.0

    Greetings - a big thank you in advance for any assistance. I have often found answers to my problems on this forum, but have been unable to find an answer to the following.
    The short of it - is it possible to make a pair of radio buttons control the visibility of multiple text objects with the same name(I have had success in manipulating only a single text object with one pair of buttons)?
    The long of it - I am trying to make a form bilingual based on the value of a radio button group to control the visibility of the text object in the selected language. When the user selects the language they wish to see, all the text objects in the form switch to that language. I am working with a dynamic PDF.
    I have succeeded to a very limited extent in manipulating one text object by overlaying text objects in both languages, setting one object to "invisible" as default, and controlling that text objects visibility with the following JavaScript in the click event of the radio button group:
    ----- form1.#subform[0].ENG_JPN::click: - (JavaScript, client) -------------------------------------
    if (ENG_JPN.rawValue == 1)///1 equals the value of on
    {English.presence = "visible";}
    else
    {English.presence = "invisible";}
    if (ENG_JPN.rawValue == 2)///2 equals the value of on
    {Japanese.presence = "visible";}
    else
    {Japanese.presence = "invisible";}
    endif
    The problem is I need to manipulate the visibility of all text objects with the same name on the form with a single radio button group. I have tried writing the code as one does for the sum of a repeating field, ie. English[*].presence etc. however I get a C++ error in preview.
    Any ideas are greatly appreciated. I am truly stumped - thank you for your time.

    To access objects with the same name you need to deal with occurance numbers. If your object is called TextField then the 1st occurance will be TextField[0], the second occurance will be TextField[1] etc.....
    The issue is that the [] in javascript are interpretted as an array element so you have to use the syntax: xfa.reolveNode("string") to get to your object names. In your case you would use:
    xfa.resolveNode("TextField[1]").presence = "visible"
    This string syntax allows you to use a var to hold the index number and is very useful with for loops where you want to set large numbers of objects. So if the index was held in the var i then your syntax would be:
    xfa.resolveNode("TextField[" + i + "]").presence = "visible"
    If the objects are in a repeating subform then the occurance numbers are on the subform and not the object. You can always get the expression to use by app.alert(objectname.somExpression). This will return the expression that you need to create.
    Make sense?

Maybe you are looking for

  • Selection Screen  of PNP Logical database

    Experts, I am stuck up in filtering of data. I am using PNP logical database in Adhoc Query, if I select Current Month as data selection than also it is giving all list of data.. Can anyone give Input to me. it is urgent. Point will revert for useful

  • The operation can't be completed because the original item cannot be found.

    Hi all. I've been having this problem for a while. I have a file server on a windows xp system with multiple drives attached to that pc (internal and external). When I try mounting one of them from the finder I get the message : +*The operation can't

  • FRM-41214: Unable to run Report geting as error

    I am converting 6i reports to 11g for that i am compiling 6i report in 10g reports and copy in 11g server in that report is calling from form i have writen query like DECLARE paramlistname VARCHAR2(30) := 'PLIST1'; plid PARAMLIST; cnt number; report_

  • Cancel Check Payment

    Hi While I am trying to Cancel check payment through FCH9 getting the following error message " Document is not purely a clearing document". When I verified the other cleraing document, I realized that it contains no. of payments doc. and some inter

  • Can someone tell me how to emulate serial terminal window in labview??

    Hi can someone tell me how to emulate serial terminal window in labview?  or provide me simple code to do it?  baud rate 9600