How to check the option buttons with button Differfent values

Nice day

I am currently trying to write a script that would mask 5 6 radio buttons

I have an option called "" 3 button "Transferr.

with values of:

Yes;

Supp;

Reg; and

do_not_transfer

so, I have a menu drop down called ""Rel. ARTICLE".

with values of

3A;

3 (B);

4 (A);

4 (B); and

4 C

I know how to get the value of the box and manipulate the other fields

as

BEGINNING

transfer of var = getField ("3. Transfer") .value

var relitem = getField ("rel. HEADING") .value

If (transfer = "Yes" | = "Extra" transfer) & & (relitem == '4 c' | relitem == "4 (B)" ""))

{

getField ("a. recommend").checkThisBox(0,true);
getField("a._recommend").display = display.visible
getField ("a. I didn't recommend").checkThisBox(0,false);

getField ("a. I do not recommend") .display = display.hidden

}

ElseIf (transfer = "do_not_transfer")

{

getField ("a. recommend").checkThisBox(0,false);
getField("a._recommend").display = display.hidden
getField ("a. I didn't recommend").checkThisBox(0,ftrue);

getField ("a. I do not recommend") .display = display.visible

}

END

I would like to make sure that rel. ARTICLE! = 4 (A); 4 (B); 4 (c) with values of 'Yes', it is the "Extra" box and "Reg" are hidden, while "do_not_transfer" is still displayed and checked.

I was passing through forums, google and acrobat documentation and I can't seem to find what I'm looking for.

Thank you for your help in advance.

if (transfer = "Yes" || transfer = "Supp") && (relitem == "4(C)" || relitem == "4(B)"))

This should be:

if ((transfer == "Yes" || transfer == "Supp") && (relitem == "4(C)" || relitem == "4(B)"))

Similarly,.

else if (transfer = "do_not_transfer")

must be:

else if (transfer == "do_not_transfer")

In order to work with an individual widgets in a form field, get an object that represents the widget using the getField method specifically demonstrated in example #2 in the documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.476.html

Tags: Acrobat

Similar Questions

  • How uncheck you the option buttons in Adobe Acrobat Pro XI?

    How uncheck you the option buttons in Adobe Acrobat Pro XI?

    OK, so I have a three sets of radio buttons each three choices, so, basically, it looks like this

    Cheques:          (    )          (     )          (     )

    Deposit slips: () ())

    Envelopes:        (    )          (     )          (     )

    In case anyone is confused, () are radio buttons. Basically, I want radio buttons to act as check boxes, I want to be able to click them and outside. I don't want us boxes because I want them to be circles and not square. Is there a way to do this? Maybe using javascript, what code would be?

    Radio button names: QTY.

    XQTY

    XPrice

    Thanks in advance guys

    You don't have to use a script. I rarely use the option button because they cannot normally be deselected once in the Group has been selected, but here's a backdoor method I use in the mouse event to the top:

    Uncheck the box if the SHIFT key is pressed while clicking on

    If (event.shift) event.target.value = "Off";

    The user will know that it is available. You can also configure a button that resets the value of the button to "Off".

    Another option is to add another choice, as "not applicable".

  • How to check the page dirty with default values existing in viewObject?

    Hi all

    I use JDeveloper 11.1.1.4.

    I have two pages in my application. I am browsing for page2 page1.

    Before opening page 2 I created new line page 2 notice of object using method 'Create Insert()' with some default values by using the ViewRowImpl class.

    My problem is that I have a button to return to Page 2. If I click the back button, then check the Application module is dirty or not.

    But it always shows AM is dirty due to I'm setting some default values in ViewRowImpl. If I avoid the default values in ViewRowImpl then AM dirty check works fine.

    My Question is how to check the AM (or) dirty Page with default values in the object view?

    My bean Codes:

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DataControl dc = bindings.findDataControl("AppModuleDataControl");

    ApplicationModuleImpl am = ((ApplicationModuleImpl) dc.getDataProvider ());

    If (am.getDBTransaction (.isDirty (()))

    {

    return "Page is dirty."

    }

    My Jspx Codes:

    < af:commandLink id = "cl6" text = '2 '.
    shortDesc = "Add Row in Page2"
    actionListener = "#{bindings." Action CreateInsert.execute}' = 'Edit' >

    Thank you

    David...

    see this

    http://www.techartifact.com/blogs/2013/11/how-to-check-ifdirty-is-modified-for-view-object.html

    http://www.jobinesh.com/2011/05/checking-for-dirty-data.html

  • How to check the RAM comes with hp computer are authentic?

    We bought 250 hp 8300 mechines. When we chech them, their ram does not alter the apparent joints. Help us discover all the Comms of parts with that plane are original genuine hp parts of weather

    Kljla.

    Seems good.

    The label on the right is HP part number. "" 698650-154

    I think that your good to go.

    REO

  • How to check the column contain alphanumeric or numeric value

    Dear Guru,

    I have a table Data_Table with content below
    Name varchar2 (30)
    content varchar2 (100)

    Content column can contain alphanumeric and digital data with separated by commas.
    I want to check if the column gave completely digital or alphanumeric.

    example of
    (a) 1223,2313,312,12313 (since it is purely digital data with commas so you can say that these are purely numeric data)
    (b) ABC, ABC_VAL, XYZ (since it's purely alphanumeric data with separated by commas)
    If one) is of digital type
    case b) is alpha-numeric

    Any body can help me to know if the content is digital or non-digital

    thanking in advance
    Sanjeev

    Hello

    Here's one way:

    SELECT     txt
    ,     CASE
             WHEN  REGEXP_LIKE ( REPLACE (txt, ',')
                         , '^[[:digit:]]+$'
                         )               THEN  'All digits'
             WHEN  REGEXP_LIKE ( REPLACE (txt, ',')
                         , '^[[:alnum:]_]+$'
                         )               THEN 'All alphanumeric or _'
         END     AS txt_type
    FROM     table_x
    ;
    

    I used

    REPLACE (txt, ',')
    

    instead of just txt so that a string consisting of all commas (such as ",") would not be counted as either all figures or all alphanumeric characters.

  • How to manage the current line with radio button selection?

    Hello world

    I have an ADF page with a table and a search"" button.
    I created a new attribute with VARCHAR2 (1) in the VO and dragged this attribute as the first column of the table. And changed this first column of the option button to select only a single line at a time.
    By clicking on the "Search" button, I need to get the current selected row values.

    How can I get the values of selected line?
    What code should I write to get the values of the selected line in the method of binding the button 'search '?

    All suggestions will be really useful.

    Thank you.

    Hello Kumar,
    I have a few comments on your case.
    >
    I created a new attribute with VARCHAR2 (1) in the t
    >
    1. you should create this attribute in the object of the entity, and then add it to the view object.
    2-do you need this radio that a button is defined for all lines? If yes then you need handle the case where the user set several lines and clear the value of the attribute for all other lines.

    >
    How can I get all the values of the current row in backing bean, binding of the Find method (method)?
    can u please give me the code for this?
    >
    If you mean by the current row is the row for which the value of the selected attribute is defined (the radio button is set to the rank), then you can write a method in the viewObjectImpl class and expose it to the customer interface and call it from your bean.
    Here is a sample Department table in the HR schema.

    //This method is written in DepartmentsViewImpl
    public Row getSelectedRadioRow(){
                //create a second row set to not impact the row set used in ADF
                RowSet duplicateRowSet = this.createRowSet("duplicateRowSet");
                //get the current row of the table to set it back after re-executing the VO
                DepartmentsViewRowImpl currentRow = (DepartmentsViewRowImpl)this.getCurrentRow();
                Row[] filteredRows = duplicateRowSet.getFilteredRows("IsSelected", "1");
                DepartmentsViewRowImpl row=null;
                if(filteredRows.length>0){
                    row = (DepartmentsViewRowImpl)filteredRows[0];
                    System.out.println("Department Name " + row.getDepartmentName());
                     }
                this.setCurrentRow(currentRow);
                duplicateRowSet.closeRowSet();
                return row;
            }
    
  • How to disable the setting button in Tools - Options - advanced - network of windows registry?

    Dear support,
    Now, my office has use Firefox as default browser to access the Web server. And there is a policy that users must use ProxyServer. I don't want to change user setting in Firefox proxy. How to disable the setting button in Tools - Options - advanced - network of windows registry?
    Thank you.
    Treky

    You cannot use the Windows registry to disable the elements in Firefox. This link shows how to lock the proxy settings of Firefox, change the values as needed:
    http://www.stbernard.com/ip5kb/iPrism/whatsnew/50SupportFiles/SupportFiles/IP0460.htm

    A change of minor importance, in step 4, instead of add this line to all-js, you can create a file called local - settings.js containing the indicated line and save the file in the same folder as all.js

  • How to check the links and buttons of enamel are traceable? If I send the email through Eloqua?

    I sent you an email through Eloqua. I don't know how to check the links and buttons are traceable?

    Hi Lucie,.

    There are 3 ways to check your links and buttons are traceable or not:

    1. When you mouse pass the link or button it will not display the actual URL. It will show you a few encrypted URL which will redirect you to the actual URL.

    2. connect to the eloqua account and search your email. When your email open ups click setting ICON and then click on manage links. All the links and URL of the button should be checked.

    3. If you want to check at the level of the code make sure after all the links and buttons URL "elqtrack = true" must be written.

    Hope this will help...

    Thank you

  • How to remove the download button located next to my home button? I continue to by clicking on it when I want the House and it's annoying.

    How to remove the download button located next to my home button?

    You can use customization feature to move it to a less irritating location. I suggest the bar the module if you keep this poster.

    Start customizing with one of these, and then drag the arrow to a new location, or in the dialog box to remove all the bars:

    • Right click on a zone empty of the tab bar > customize
    • Press the Alt key > menu view > toolbars > customize

    You will notice that some combined controls separate in the view to customize. If you put something between them, they will not be able to recombine. (For example, if you separate stop and reload or put something between front/rear and area URL.)

  • How to use the prtsc button please, so I can capture Bank to receive the shipment?

    How to use the prtsc button please, so I can capture Bank to receive the shipment?

    If you can view receipts from the Bank to the screen... just left
    Click on your print screen button to copy the screen of your
    Windows Clipboard. Then... Open Windows Paint and
    Reach... Editing / paste. Then go to... File / save as / JPEG.

    If the file needs cropping... you can use the 'Fix' edition
    option in the Windows Photo Gallery.

    Another option:

    If you run any version of Vista Basic...
    the capture tool can be a better tool for the job:

    Use capture tool to capture screenshots
    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots
    (Vista Home Premium, Business, Ultimate, Enterprise)

    Windows Vista - activate the Vista Snipping Tool
    http://www.PCWorld.com/article/137099/activate_vistas_snipping_tool.html

    Vista tutorial - How to use the tool captures of Vista
    http://www.Vistax64.com/tutorials/148532-how-use-Snipping-Tool-Vista.html

  • How to get the select button event Radio in my co

    Hello

    I want to get the the radio button selection event in my co, how do I get the event?

    Hello

    841475 wrote:
    I want to get the the radio button selection event in my co, how do I get the event?

    -There is no case of option button.
    -you need to explicitily set the event for the option button.

    Action: FirePaatialAction
    Event: RadioEvent

    -Discover the event in co by code below:

    If ("RadioEvent". Equals (PageContext.GetParameter (EVENT_PARAM)))
    {
    -In the case of a radio button. :))
    }

    Concerning
    Meher Irk

  • How to get the Radio button value after submit process

    I have a button called (P8_DELETED_RECORD) that has 2 choices (Yes and no) and would like to have my "anonymous PL/SQL block" after presenting the process run logic differenct depending on whether Yes or no is selected.

    How can I referecne the option button in the code, I tried several ways without having had no success.
    I tried:
    a. if: P8_DELETED_RECORD = "1" then
    b. if: P8_DELETED_RECORD_0 then
    b. if: P8_DELETED_RECORD_0 = 'Y' Then


    Using Apex 3.2.
    Thank you

    Hello

    Inside of your radio, what is your lov

    STATIC2:Yes; 1, none; 0

    in this more top of case, you can use the code below

    If: P8_DELETED_RECORD = 1 then
    ---
    end if

    When the value of your lov return changes in 'yes' or 'y' depending on whether you have to change the condition

    Thank you
    Loga

  • change the size of the option button

    How to change the size of the option button?
    Thank you!

    I hope that there is no option to change the size of the radio button. If you want to change it, you can use the images and apply CSS

    RadioButton {}
    Width: 40;
    height: 40;
    fontSize: 18;
    fontFamily: myMyriad;
    color: #FFFFFF;
    textRollOverColor: #FFFFFF;
    ("selectedUpIcon: Embed("/images/radio_on.png ");
    ("selectedOverIcon: Embed("/images/radio_on.png ");
    ("selectedDownIcon: Embed("/images/radio_off.png ");
    ("upIcon: Embed("/images/radio_off.png ");
    ("overIcon: Embed("/images/radio_off.png ");
    ("downIcon: Embed("/images/radio_on.png ");
    }

    Thank you
    Surendra.

  • How to fix the main button to paste constantly

    How to fix the main button to paste constantly

    Short of getting a replacement from Apple or risk a repair third shop there is nothing you can do. How about a button on the home screen? Go to settings > general > accessibility > assistive touch > on.

  • How to disabled the alt button?

    How to disabled the alt button?

    Wednesday, October 17, 2012 12:48:11 + 0000, ArielPilapil wrote:

    How to disabled the alt button?

    Why do you do this? This can screw up a lot of things.

    But you can disable any key or keys by using software such as the free
    SharpKeys to http://www.randyrants.com/sharpkeys/

    Ken Blake, Microsoft MVP

Maybe you are looking for