Bind a radio button to a text field in a pdf form

Forgive my ignorance, but nobody knows how to bind a radio button to a text field in an Acrobat pdf form?

I have a series of 4 radio buttons. If you click on one of them, I want to activate a text field then you will need to fill out. In addition, it would be good to have if you do not click on the radio button you are able to fill the text box.

I'm a designer not a programmer, so I don't know much about javascript. Can anyone help?

Thank you very much

You might want to look at hiding and showing form fields by Thom Parker. You can also clear the text field when the radio button is changed.

Tags: Acrobat

Similar Questions

  • RADIO BUTTON BOX REQUIRE TEXT FIELD.

    I have a group of checkbox button Radio I want ONE of the check boxes, when checked, to trigger the text field and a text field to be required to not be necessary when the checkbox is disabled or disabled. How can I accomplish this?

    Figured it out!

    If (event.target.value == "Three") {}

    this.getField("Text_Field_1").required = false;

    }

  • When my form is clicked on a box/radio button, a predefined text appears elsewhere in the form.  How can I do this?

    I have created a form for a hospital.  I have a form with Yes/No boxes.  I want the results of these checkboxes to trigger the display of text in the text boxes on the same document.  For example, if it is said: "pain in the neck?  O N"and they click on 'Y', I want a message to be entered in a 'Instructions' box on the form.  I made shape, I just need direction on the fi/then for all clicks.  that is, «if they click YES on this, type THIS in this other area...» "etc.

    Use as the mouse to the top of the script for the checkbox control:

    if (event.target.value!="No") {  //If checkbox is ticked
    this.getField("Textbox1").value = "Instructions for Neck Pain Go Here";  //Replace Textbox1 with the name of your field
    }
    else this.getField("Textbox1").value = "";   //Clear the text field if checkbox is not ticked
    
  • How can I change the contents of a text field in a PDF form with a defined variable?

    Hi all!

    First time poster and getting quite frustrated trying to understand this issue. Here's the scenario: I use Acrobat Pro 10 to create what is essentially a form of giant order. I have designed the document in InDesign, defined the various buttons and other whatnot and then it exported to Acrobat to continue the construction of the form.

    I have a radio button group called 'conference_opportunities' that contains different options at different prices, so they are all the same, but have different values (so that they belong to the same group and only one can be selected at a time).

    What I've done is created a 'MouseDown' event on the button that sets a variable called 'ConferenceOpportunity', which is equivalent to the title of the option they pick. Then, I want to take this variable and display in a text box called "Conference_Option". I use a variable because my radio buttons values are actual prices of the option they pick, so I can't set the value as the title of the option.

    If its an array of boxes and option at the bottom of the page, there is the Option that they selected, the quantity (which can change) and value (in dollars)

    I also then want to display this variable at the end of the document as a kind of summary of what they have chosen to buy as well, but I guess it's the same code.

    I'm not an expert at all Javascript, so code snippets would help greatly. I looked on the Document from Adobe on the SDK and API and have not been able to find a solution. I also turned to the Almighty google and still no luck.

    Any help would be greatly appreciated!

    Thank you all

    Right now, you have to do is use this variable to the value property of your text field... Then add this at the end of your code:

    this.getField("Conference_Option").value = ConferenceOpportunity;

    Also, I would use not MouseDown, MouseUp.

  • Default properties for the text field of the PDF forms

    How can I set the default properties for the text field?  The creator of forms set of font sizes that are too large.

    Right-click on the field > use current properties as new default.

    It will keep the new settings until the next time that you do this. It is not specific to the document. Do it separately for each field type (text, button, etc.)

    On an existing form, you can select multiple fields. A pro tip, is that you don't have to close the properties to move from the field to the field to the field. Dungeon opens and work faster.

  • How you grey on an option button if a text field is blank in Adobe Acrobat Pro XI?

    How you grey on an option button if a text field is blank in Adobe Acrobat Pro XI?

    So, what I'm doing:

    (     )   | TEXT FIELD.

    (     )   | TEXT FIELD.

    (     )   |                  |

    (     )   | TEXT FIELD.

    I have a radio button :)

    and a text field. TEXT FIELD.

    The third text field is empty, and I would like to than radio button gray (the user cannot click on it) because the text field is empty. Is it possible to get? I guess I'll have to use javascript, but what would the code and must it be entered in the javascript for the text field editor or the radio button?

    Thanks in advance guys

    Enter this code in the custom text box validation script:

    this.getField("RadioButtonName").readonly = (event.value == "");

  • Hide the individual fields of a group (radio button) based on another field

    Looked through the archives, but couldn't find the answer, who worked... THANKS in advance.

    A form that contains a radio 2 field (named funding) group - 'Cash' or 'other '.

    The group following (FinancingType), which is independent now, is a group of radio buttons of the 5 field - "Cash", "FHA", "GO", 'Classic' and 'other '.

    "Cash" is selected in the first group, I want to [FinancingType]. Button of Cash to choose (what I work via a trigger MouseUp)

    If (event.target.value == "Cash).

    this.getField("FinanceType").value = 'Cash ';...

    However, I want the other 4 fields greyed out or hidden.

    In addition, if the radio button "Other" is selected, I want to [FinancingType]. Button of cash to be gray or hidden.

    (ps. I know just enough coding to get in trouble!)

    Yes, you can. The code would be:

    this.getField("FinanceType").readonly = true; or false, change it back

  • Is it possible for someone to insert a logo when you fill out a form to fill out? I'm looking for all the options under the button 'add a text field.

    I have created a form to fill out that is a contract, but I need a way for the person who is to fill the form to insert their logo.  Is it possible for someone to insert a logo when you fill out the form to fill out? I'm looking for all the options under the button 'add a text field.

    It is not possible within a text field, either. If they have Acrobat, they can use the built-in under Tools - editing content Add Image tool.

    If they drive XI or higher, they can use a button form field you will need to set up for them, but the image must be in PDF format.

  • Insert the text field into several pdf files

    I was wondering if there was a way to insert a text field into several pdf files. I have about 500 pdf documents that need to have a text field in the same location on page 1 of the document. Is there a way to create a batch for this? Can I create a blank PDF with the text field in the right place and superimpose somehow in the exsisting files? Or I'm stuck with opening each file and paste the text of field in there?

    Any help would be appreciated.

    Thank you.

    Yes, it is possible to do, if you have the version of Acrobat Pro and some knowledge of JavaScript.

  • A password is adjustable to apply after a field on the PDF form entry?

    A password is adjustable to apply after a field on the PDF form entry?  So requiring a password after the PDF is closed with a field entry and asking the password after the reopening of the PDF document

    If you ask a password to open document for standard password security, the answer is no.

  • Several radio buttons from multiple text entry text box.

    Once more, I find myself asking for help.

    I have a form with a lot of questions. Answers are derived radio buttons which, in turn, are displayed in the text boxes associated with each group of option buttons. This part. that I don't have a problem.

    I want to make is that all of these responses are also displayed in a text box 'Total' separate in order to give an overview of the results of the form.


    The problem I have is that I get only 1 answer in my text box 'Total' and that while it is replaced at the next RB is selected in the following selection of questions and answers.

    Any help will be appreciated.

    Raffé.

    Hi Raffé,

    If you want to view all selections made in the option buttons in the total field, you can directly all of the above as a concatenation of string like this.

    Total.rawValue = Radiobutton1.rawValue + 'some delimiter as the comma, hyphen if you want to' + radiobutto2.rawValue + etc...

    Remember that the total field shouldn't of TextField NumericField.

    Thank you

    Sidonie.

  • Hide an option button when a text field is filled?

    Hello

    I was wondering if someone could help with this.  I want to set up a form for a radio button is disabled when a field is filled in.

    I tried a simple Action (show/hide a field), but I would like the user to be able to change your mind - so if they begin to enter the field of information and then delete, they can always select Yes or not later.

    I hope I'm explaining this well.  I read through the discussions and the acticle of Thom Parker, but I am sorry to say that because I don't know Javascript, it is completely over my head.

    Any help would be greatly appreciated!

    Thank you.

    If you want the buttons radio is available that when the text field is empty and inactive when the text field is not empty, you can use the validation script customized for the text field:

    // Custom Validate script
    (function () {
    
        // Reset the radio button field
        var f = getField("rb1");
        resetForm([f.name]);
    
        // Set the readonly property based on this field's value
        f.readonly = event.value;
    
    })();
    

    Replace "rb1' with the actual name of the option buttons.

  • By selecting the radio button makes the required field

    (Actually two similar questions but...)

    • I have a set of option buttons.  When the 'B' button is selected, I need the field text "T" to become "required".  If the user changes her mind and chooses another button or the form is reset to the "T" field does not show being "necessary".
    • The form also has a set of check boxes that, once again, when 'C' is checked, I need 'F' text field to become "mandatory" (or not if the box is unchecked).

    Help with the script for these is appreciated.

    Oh! It's a bit simpler:

    Custom calculation script

    Event.Target.Required = getField("radio1").valueAsString = 'B ';.

  • Required radio buttons - Possible Cause of unable to submit the form?

    I'm missing something about radio buttons.  Create a form of 9 page using the layout fluid and with the previous help from this forum, am being tested now.  It's a long questionnaire and questions are radio buttons, some are checkboxes.  For radio buttons, they are a Yes/No, each set contains 2 buttons and I use the question numbers under the name of link, for example the Question a 17, 4 sets of boxes for Yes/No to sub questions A, B, C and D, thus binding names Q17A, Q17B, etc..

    I've done every yes / no game needed, thought I want their answer Yes or no for part A, B, C and D, each.  By making the final test, when I click on send, he said to the less mandatory field was empty export.  I answered each question if necessary or not, thinking I can I have had a few errors in the mandatory fields, always got the error, then divided the form on 8 separate test documents, each containing only a single page and page 9 to submit in order to reduce it to which pages/fields were the cause of the problem.  On pages that have no radio buttons, only the required text responses, I don't have the message.  Only on pages with the radio buttons is I got the message "at least a necessary field was empty", which brings me to ask me what Miss me about the production of the required radio buttons.  In the Help menu of option buttons, but not this aspect, I found a lot, and maybe I went beside her and would appreciate any help, thanks.

    Hello

    Radio buttons can sometimes give wrong when it is set to required: see here Re: required Radio button red color in a dynamic form

    One thing to make sure is each Yes/No is a group of radio exclusion and the exclusion of the radio has the required value:

    Good luck

    Niall

  • Addition of text field in a PDF file and takes forever, why? Literally more than 1 minute of each text field

    I have a PDF file created from Microstation.

    I try to add some text fields, but it crashes whenever I have add a text field.

    Literally, it takes more than a minute per text field.

    The file size is only 475 KB so its not too big.

    I use Acrobat Professional X

    I already tried flattening of the document and NOTHING!

    I have re-print the file using PDFCreator and NOTHING!

    Please help me :-(

    Kind regards


    I'm sorry, I thought you were using 11 Acrobat. Preferably this parameter was introduced with Acrobat 11. In Acrobat 10, you can instead set the agenda tab 'Order tabs by Row' or something other than manually or not specified. To do this in the "Tab order" drop-down list in the component fields in form editing mode. If you want a custom tab order, wait until set when you have added all the fields.

Maybe you are looking for