With value of check box for show/hide radio buttons?

I have created a pdf form. I have a checkbox and radio buttons several. I put it so radio buttons are hidden until the user clicks on the checkbox above him. I also put the box reset option on mouse-to top buttons. However, radio buttons are always selectable. I want to assure you that if one of the radio options is selected, the check box to be checked as well.

Is there a bit of javascript, I could add to the check box to hide the option buttons if its value is not equal to yes (checked)?

You can use code similar to

If (event.target.value == 'Yes') {}
selected - display radio buttons
this.getField('Radio_Button1').display = display.visible; view the radio button
} else {}
Show box unchecked hide radio button and reset the field
this.getField('Radio_Button1').display = display.hidden; Hide radio button
this.resetForm (["Radio Button1'"]); Disable the option button
}

But YOY will have to change the field "Radio Button1" name match your fyouor domain name to the Group of radio buttons.

Tags: Acrobat

Similar Questions

  • How to group check boxes... as radio buttons

    We have a group of radio buttons like that I need checkbox group... I have 4 boxes and the user must be able to select an and only the check box at a time... How to... Please help as soon as possible. In the option boxes, we have the group name... but do not have the box how to achieve this function

    You may want to rethink this - users will probably not wait this behavior. User interface conventions are important.

    That said, if you want to continue to do that, to listen for the click event and do something like this:

    
    
                    
    
                                                                    
    
    
    
  • JS help please: show/hide Radio button option

    Hello community,

    I'm not good with JS and need your help!

    My client has 3 payment options (radio button):

    • Credit card (default selection with possibility to put any credit card info in "'paymentdiv ' tag div")
    • PayPal
    • Bank transfer (to choose the Bank of dorpdown in "bankpaymentdiv ' tag div)

    The following code hides the option of credit card if the user chooses the option Paypal or bank transfer

    function ShowCCFields(val) {

    if (!document.getElementById('paymentdiv')) return; 

    if (val != 1) document.getElementById('paymentdiv').style.display = 'none';

    else document.getElementById('paymentdiv').style.display = 'inline';  

    }

    HOWEVER, if I select Paypal, it hides card banking option (as it should) - but not the payment of the Bank of field option. How do I get there?

    This should do it:

    paymentdiv

    See you soon.

  • Show/hide the buttons of different page

    Hi all

    I was responsible for creating an interactive PDF of several page which is basically a questionnaire. Each page will have one question with the results of all issues gathered in a table at the end. Ideally, I would like to answer each question to send to a cell in a table but I can't find a way to get there, so my solution was to use radio buttons to select the buttons for results and responses. I had planned to assign an action show/hide radio buttons to reveal the answer on another page. During testing I ran into a problem when you configure the action show/hide, it allows me to select a show/hide button, unless its on the same page as the option button! Does anyone know if there is a solution to this? If someone can not advice me how I build such a feature?

    Thanks in advance,

    JS

    In Indesign, you will need to install the buttons in response to the same page as the radio buttons for the construction of all hide / display the activations. It's the only way you will be able to set these properties. Once you have completed and tested, you can now move the buttons in response to another page. Option buttons to activate hide/show buttons to answer to a different page. I have a test file that shows, if you want, I can send it to you.

  • The check box for "see windows contents while dragging", shoots himself

    The check box for "see windows contents while dragging", shoots himself.    Irritating!   Any ideas?

    Hi Mr_Sleeze,

    See if you can set a registry key verification:
    How to use Group Policy to configure auditing of Windows registry keys
    (The above article was written for Windows XP Home edition, but should work as well under Vista).

    DragFullWindows is the value you want to monitor.
    http://TechNet.Microsoft.com/en-us/library/cc787526.aspx Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • When I try to connect to facebook, my going high turn of wifi, keeps diconnecting. I have infinity in the House, with a netgear wifi box for my laptop in the garage.

    I have 2 computers. An office in the home and a laptop computer in the garage. Desktop is connected to the internet, through infinity, the laptop reaches the internet through a wifi netgear box. Since last week, my laptop disconnects from the internet, everytime I try to log in to facebook. When I plug the laptop in the House, it woorks fine, this happens only when I try to connect via my wifi. Why?

    Hello

    Thank you for writing to Microsoft Communities. The problem description, I understand that you are not able to connect to the internet. Provide the following information:

    ·         What version of the operating system is installed on the computer?

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         What web browser do you use?

    ·         The question is limited to the Facebook website?

    Follow these methods.

    Method 1: Temporarily disable the security software .

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: Follow these steps:

    Step 1: Start the computer in safe mode with network and check.

    Startup options (including safe mode)

    Step 2: If the problem does not persist in safe mode with networking, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow the link step 7 to return the computer to a Normal startupmode.

    Method 3: Follow the steps in the article.

    Windows wireless and wired network connection problems

    So you can see these articles for more information.

    How can I troubleshoot network card?

    How to reset the Protocol Internet (TCP/IP)

    Let us know if you need more assistance. We will be happy to help you.

    Thank you.

  • check box for fills the fields


    Hello

    I have a column of text fields named date1, date2, date3... all the way to date10.  I would like to include a check box if the user enters a date in the field "date1" then checks the checkbox, it could fill the remaining fields with this value.  Someone would have the script for this.

    Thank you very much.

    You can use this code as the script of the mouse upward to the checkbox:

    if (event.target.value!="Off") {
        var v = this.getField("date1").valueAsString;
        for (var i=2; i<=10; i++) {
            this.getField("date"+i).value = v;
        }
    }
    
  • How to filter datagrid flex with 3 three check boxes?

    Hi guys,.

    I'm new to flex.

    I need your help. Can someone help me please.

    My requirement:
    Flex Datagrid should be filter based on the 3 checkboxes. (The check boxes can be checked with several combinations).

    * My Code: *.

    * Boxes: *.

    < mx:CheckBox id = 'done' label = click "Done" = "" / >

    < mx:CheckBox id = 'onhold' label = click on "Pending" = "" / >

    < mx:CheckBox id = 'inprogress' label = click 'In progress' = "" / >

    * Data provider: *.

    < mx:ArrayCollection id = "arrColl" >
    < mx:source >
    < mx:Array >
    < mx:Object Status = "In progress" title = 'java' grade = 'A' / >
    < mx:Object Status = "Completed" title = 'c' grade 'B' = / >
    < mx:Object Status = 'Suspended' title = 'c++' grade 'C' = / >
    < mx:Object Status = 'pending' title = 'flex' rank = "D" / >
    < mx:Object Status = "Completed" title = "cobol" grade = 'E' / >
    < mx:Object Status = "In progress" title = "python" grade = 'F' / >
    < mx:Object Status = "Completed" title = "SAP" grade = 'G' / >
    < mx:Object Status = "In progress" title = 'Oracle' grade = 'H' / >
    < mx:Object Status = 'pending' title = 'Sybase' grade = 'I' / >
    < mx:Object Status = "In progress" title = "HTML" grade = 'J' / >
    < mx:Object Status = "In progress" title = "JSP" grade = 'K' / >
    < mx:Object Status = 'pending' title = "Servlets" grade = 'L' / >
    < / mx:Array >
    < / mx:source >
    < / mx:ArrayCollection >


    * MXML code: *.
    < mx:DataGrid dataProvider = "{arrColl}" id = "dg" / >

    Here I have to filter datagrid when I check various combinations of 3 boxes.
    The checkbox values come from Staus arraycollection collection column.
    When I select the checkbox 'complete' and 'onhold' box, datagrid should display only the records that have the status as 'Complete' and 'pending '.
    The same for all combinations of selection boxes.

    Can anyone give simple solution please?

    Thank you
    Anand.k

    I don't understand.

    I tried flex 3.5 and it worked. Code:

    
    
        
            
        
    
        
    
        
    
        
    
        
            
            
            
            
            
            
            
            
            
            
            
            
        
    
        
    
    

    Could you try to run this code on a new application and see if it works?

  • Check boxes for web application

    Hello.
    I use: Dreamweaver8 - PHP5.1.6 - MySQL5 - Apache2.2.3
    I am also new to this software.
    Hope you will guide me to it.


    ------------------------------------------------------------------------------------------ -
    Raw image:

    Several checkboxes (For example electrical, mechanical, chemical...)

    Function - Add or change

    Naming-
    E.g. electric - name: JobCategory | Checked the value: electric
    Mechanics - Name of the: JobCategory | Checked the value: mechanics

    Situation / need.
    When the user checks the properties 'Electric' and 'Mechanical', the database should contain something like 'Electric, mechanical' or 'electric & mechanical' or...

    Column name in the database: JobCategory
    ------------------------------------------------------------------------------------------ -


    My code only now allows me to have a single value in the column "JobCategory", although it uses checkboxes.
    The code was something like:

    $insertSQL = sprintf ("INSERT INTO candidate (...,...,...,...,...,...,...,...,...,...,...,...,...,..., JobCategory,...,...,...,...,...,...,...,...,...)") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s) ",)
    .
    .
    .
    GetSQLValueString ($_POST [JobCategory], "text"), //JobCategory is the name of all the boxes
    .
    .
    .


    Thanks babe and dudes ~.
    My gratitude
    __SY__

    David powers :
    Thank you very much.
    It works fine now.
    I tested all of the checkboxes and all could be modified in the database.

    In the MySQL database (using phpMyAdmin):
    Set the type columndata in phpMyAdmin to SET. In the
    Length/values , enter as a comma
    list: 'a', 'b', 'c', etc.

    Set to the name of each box
    name = "ArrayName []".
    The pair of square brackets , it turns into a table.

    To the same top of the page, add this code :

    <>
    If (isset($_POST['JobCategory'])) {}
    $_POST ['JobCategory'] = implode (',', $_POST ['JobCategory']);
    }
    else {}
    $_POST ['JobCategory"] =";
    }
    ?>

    Before the first box , add this line of code to extract
    the values in the field in a table called $categories :

    Then change the code in the box like this:

    <>
    If (is_array ($categories) & in_array ("Electric", $categories))
    {echo ' checked = 'checked' ";}?} > />


    The conditional statement first checks to see that $categories is an array.
    This prevents an error if $row_rsEditCandidate ["JobCategory"] was empty.
    The code then looks for 'Electric' in the $categories table. Even if
    There is only one item in $row_rsEditCandidate ["JobCategory'],
    $categories will always be an array. Just replace "Electric" with the
    appropriate value for each check box.

  • The use of password for show/hide forms - anyway to keep the setting "does not print?

    I have a George_Johnson script that allows me to enter a password to show/hide the fields selected (keys actually).  It works perfectly, but when I enter the password and buttons appear again, setting general/Common Properties amounts to 'visible' instead of ' visible but does not print ', and the buttons appear when I print the document.  I thought I could change these lines and print buttons...

    case 'password': / / your password goes here

    getField("x").readonly = readonly;

    getField("x").display = readonly? Display.Hidden: display.visible

    App.Alert ("level 1 support is now" + readonly_desc + "d", 3);

    break;

    .. .to change the 3rd line to read as follows: getField("x").display = readonly? display.hidden: display.visible but does not print  (or _but_doesn't_print;)

    but then I started to make syntax errors in the 4th line.  I don't know about Java, but I thought I might get lucky.  I get hot?  What is the "3" that needs to change?  Or is that I started quite wrong?

    Thanks for reading,

    Zac

    You can't guess correctly that the value can be and expect it to work... You should consult the documentation.

    In this case, what you're looking for is "display.noPrint".

  • Use the drop-down menu to set the value of check boxes

    Hello everyone, I am using a drop-down list field in a form to also check or uncheck the different boxes, based on the value. I'm looking for something like the following:

    f = this.getField (event.target.name) .value;

    g = this.getField ("Checkbox1");

    h = this.getField ("Checkbox2");

    If (f is 'Value1')

    {

    g.Value = true;

    h.Value = false;

    }

    on the other

    {

    g.Value = false;

    h.Value = true;

    }

    and so on. It works the way I want. This is probably a simple syntax or a thing of terminology. Can someone advise? Thank you!

    The value of the boxes is not true or false, but one channel (either 'Off' or the value of exports).

    You can also set the like this, but:

    this.getField("Checkbox1").checkThisBox (0, true); check one

    this.getField("Checkbox2").checkThisBox (0, false); to clear a check box

    Edit: fixed the code

  • Select the check box for the table of the ADF

    Hi all

    I want to add the check box in front of each line. The user will select the row by clicking the box and going to treatment by clicking on a button.

    I just almost all possible discussions on OTN.

    What I've done so now
    1] added a transitional Boolean attribute in my VO. added as a selectBooleanCheckbox in .jspx page.
    [2] a button with backing bean that will do the processing. [He will pick up the attributes of all ranks and be written in a file]
    [* 3] it works fine if I use the default option of line by Ctel selection + A, or by pressing Ctrl + click or SHIFT + arrow key. Backing bean is not the issue.*
    [4] try to intercept the TableSelection Listner also.

    It comes

    When I select the check box, only the last selected line is processed and not all lines. How to make the selectable online by clicking on the checkbox.

    I use JDeveloper 11.1.1.5

    Refered links
    http://www.gebs.ro/blog/Oracle/Oracle-ADF-row-selection-using-checkboxes/
    http://technology.AMIS.nl/2010/07/29/ADF-11g-select-all-rows-in-an-ADF-table/
    http://Sameh-Nassar.blogspot.nl/2009/12/use-checkbox-for-selecting-multiple.html
    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/99-checkbox-for-delete-in-table-1539659.PDF

    Mukesh.
    https://www.dropbox.com/s/1gqsaobgyjycie6/AddDeleteEmployees.rar
    
  • Using a check box for autopopulate other fields (= ship Bill to)

    I checked the other threads and don't know what I have to do.

    I have NO experience of script and am using LC Designer ES 8.2.

    The form I designed will be finally sent to customers for them to fill out using Adobe Reader.

    I have two sections - a "Bill" and a "ship to" and they are areas of free text to one drop down to "country".

    What I want to do is to put a check box on the form that says "Bill is identical to ship to.

    If the user clicks on the box, the data should autopopulate the other fields.  If they "UN-click on ' the box, the data goes.

    Script is WAY above my head and scares me but I peut follow directions.

    Can someone help me?

    Chuck,

    First off apologize not to ask a question... no question is stupid.

    Secondly, the script of your checkbox is on the bad event.  Looking at your screenshot, you placed on the 'click' event... should be placed on the 'change' event See screen capture below.

    Then, the script should be (for example):

    If (this.rawValue == 1) {}

    Company2.RawValue = Company1.rawValue;

    }

    If (this.rawValue == 0) {}

    Company2.RawValue = "";

    }

    Finally, it's just a suggestion...  Since you make the box (same as ship to... which means that the Bill for info would be the same as the ship for info) I make the column 'Bill To' the second column and make the ShipTo the first column so users enter the Ship To news first. In my example, company 1 represents the ShipTo, a Company 2 BillTo nd. When the user checks the box (checkbox value == 1), the news of billto are filled by the ship to info data entered and when unchecked (checkbox value == 0), the billto fields are empty... so (Company2.rawValue = "" ;))

  • Show/hide multiple Button controls increment/decrement is AWOL

    As far as I can see (LV 2013), there is a missing feature in LabVIEW, whereby, when you select multiple digital controls, you can't show/hide their increment/decrement buttons:

    Here, I have 3 DBL, 1 I32 and 1 enum, but that goes for any combination of numeric values. If I right click on one of the selected controls, I have access to only two points in the title of the "visible Points":

    -Label

    -Legend

    Where is ' Increment/decrement' part, whereas it is common to all these controls?

    BUG? I couldn't find it mentioned elsewhere, but I would not be surprised to be the first to have noticed.


  • Show/hide the buttons on the tabular form region

    I have a classic tabular form with standard buttons: AddRows, RemoveSelectedRows, cancel, Save. What I want is to have the button visible to AddRows only when there is no given on the form (the source table is empty). When the user clicks the AddRows button, a blank line apears. Right now I want to show, save, and Cancel buttons (buttons remove is covered by the current Condition). And when the user deletes all the data in the table, I want to hide all buttons except AddRows.

    How to do this? Thanks in advance.

    Hello

    If you use Apex 3.x and you have created a table by using wizard, you already have branch page.
    Change this branch and add to the query field

    &REQUEST.
    

    BR, Jari

Maybe you are looking for