How you gray out / disable fields in an option button if another radio button is selected in Adobe Acrobat Pro XI?

How you gray out / disable fields in an option button if another radio button is selected Adobe Acrobat XI Pro?

I have created a form where the user has three options to make a payment.

  1. charge on my credit card
  2. costs related to the bank account
  3. By check or money order

My problem is, under each option, there are required fields that must be filled. So if the user chooses the first option, charges on my credit card, they would fill in the mandatory fields (card credit number, expiry etc.). But when they click on the "submit" button to send the form, he won't let them, because there are a of the fields required in the title of the second the second option, the costs related to the costs related to the bank account. Is there a way to gray out or disable the other two payment options when it is taken. I guess I'll have to use javascript, but what would be the coding and what field do I write under?

Thanks in advance guys

I do all the fields that are not required until the user selects the relevant box.

For example, as soon as the user selects the credit card radio button, only credit card fields are required.

It could be the script to make the credit card required/not required fields:

var r = this.getField("PaymentMethod").value;     Use the name of the radio here group

var CCfields is ['Field1', 'Field2', 'Field3'];.         Enter the names of the fields of credit card here

If the user has chosen credit card as payment method, make the required credit card fields

If (r == 'Credit Card') {}

for (var i in CCfields) this.getField(CCfields[i]).required = true;

}

Else, no required credit card fields

else (var i in CCfields) this.getField(CCfields[i]).required = false;

You should do something similar for other types of 2 payment, for example

If (r == "Bank account") {}

do something

}

etc.

......

Tags: Acrobat

Similar Questions

  • 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 == "");

  • How can I add white space between areas that contain text fields? I use Adobe Acrobat Pro DC 2015.  I'm trying to change an existing PDF. I need to add white space between areas that contain text fields to allow these text fields to be developed and not

    How can I add white space between areas that contain text fields?

    I use Adobe Acrobat Pro DC 2015.

    I'm trying to change an existing PDF. I need to add white space between areas that contain text fields to allow these areas to be developed and do not overlap the text and the text below fields.

    For example:

    1. 1.

    Progress/strategies:

    1. 2.

    Progress/strategies:

    1. 3.

    Progress/strategies:

    1. 4.

    Progress/strategies:

    The space between each 'progress/strategies' increasing needs. A text field is under each of them. If it's a Word doc, I could just press on enter. What is the best way to do this with Adobe Acrobat Pro DC?

    There is no easy way to do it. You need to move the text fields more apart and if there are static elements, then you will need to use the tool edit text & Images to move them, separately.

  • How to disable adobe acrobat Pro version 10?

    I need to reformat my hard drive and I need to disable Adobe Acrobat Pro version 10.  I'm using options and "Power off" is not even an option.

    No idea how to do to disable the software if it is not even an option?

    Thanks for your help

    Dave

    Hi Dave,.

    You do not get the option to turn off because it might be possible that Acrobat has been installed with volume license serial key.

    If the option disable is not available then please go ahead and uninstall the program.

    After formatting the drive, re install the software.

    Kind regards

    Anand

  • I'm filling out a form to transfer license for Adobe Acrobat Pro XI who is transferred to another employee in our company for me. The instructions are the form indicate to attach to a file number. How can I get a case number?

    I'm filling out a form to transfer license for Adobe Acrobat Pro XI who is transferred to another employee in our company for me. The instructions are the form indicate to attach to a file number. How can I get a case number?

    Use a browser that allows cookies and pop-up windows, please contact adobe for hourly pst support by clicking here and, when it is available, click "still need help," https://helpx.adobe.com/contact.html

  • Adobe Acrobat Pro, version 2009 - how can I pass? I can't download it from the page produced more. Is there a way upgrad to renew my license? What would the corresponding real version of Acrobat? This is for Windows7. Thank you, Silvia

    Hello

    I need to install Adobe Acrobat Pro on a new computer laptop. I bought Version 9 in 2009. There is no download option more in my Center of Adobe. How can I do this?

    Thank you, Silvia

    No upgrade discount still applies. now only Acrobat 10 and 11 are eligible. Or consider subscription instead, strongly recommended because it includes future updates.

  • When you use Adobe Acrobat Pro DC, how do I convert my PDF to Excel and have it include the header and footer from the original PDF? I can't get it on down to the Excel worksheet.

    When you use Adobe Acrobat Pro DC, how do I convert my PDF to Excel and have it include the header and footer from the original PDF? I can convert all information of an organization but the footer and header with no discharge in the excel worksheet.

    Hi trudyb54940538,

    Converting PDF file to sheet Excel spread, header & foot is not included.  I am able to reproduce the problem at my end.

    Thanks for reporting the issue.

    Kind regards
    Nicos

  • 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 do reinstall you Adobe Acrobat Pro only to the student teacher CS6 purchased package online?

    My Adobe Acrobat Pro opening stopped.  I have to reinstall.  Is it possible to reinstall only this program and not all CS6 student teacher that I bought?

    When you install the suite you can choose/Undo the programs you want installed/not installed.

  • accidentally closed a doc Adobe Acrobat Pro HOW to RECOVER

    Work on Adobe Acrobat Pro accidentally closed a doc, HOW can recover changes? Help! 10 hours of work. 'come back' is grayed out on the file tab.

    If you don't enable automatic backup of Acrobat and does not save the file only once in all the time, then you are out of luck...

  • I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    Ok. Let's say the name of the radio button group is "Radio1", the value of exports in this field is '3', the name of the subtotal is "Subtotal" and tax rate is 16%. You can use this code as the custom calculation of the tax field script:

    Event.Value = (this.getField("Radio1").valueAsString == "3")? Number (this.getField("Subtotal").valueAsString) * 0.16: 0;

  • Adobe Acrobat Pro DC on my Windows PC. How?

    Hi there, I'm trying to get Adobe Acrobat Pro DC installed on my Windows PC. I just bought a software download card and turned out to be a map "student and Teacher Edition. I don't know how to download the software free of charge. Can anyone talk me through the process?

    It requires the administrator rights for installation.

    If it's a business machine then you will need to contact the computer support team.

    Concerning

    Megha Rawat

  • Disable tabs in Adobe Acrobat Pro ms?

    How can I disable tabs in Adobe Acrobat Pro ms? (version2015.009.20069)

    I would like to have all PDFS open in a separate instance, as was the norm before the last update of version.

    Hi D.Cheke,

    You can disable tabbed browsing in general preferences. After selecting option of tabbed browsing, be sure to restart Acrobat.

    Best,

    Sara

  • How to add the form designed in adobe acrobat pro live cycle Designer?

    How to add the form designed in adobe acrobat pro live cycle Designer?

    I want to add the form designed in adobe acrobat pro live cycle Designer. I saved the form designed in adobe live cycle designer in pdf format. But you can't change the same in Adobe Acrobat format. I would like to add a few fields and use the fields designed by Adobe Live cycle Designer.

    You can only modify this form in LiveCycle Designer. Forms Acrobat and LCD are not interchangeable.

  • How to align the text to the right in the text filed using Adobe Acrobat Pro?

    How to align the text to the right in the text filed using Adobe Acrobat Pro? I am able to align the text box, but not the alignment of the text with the deposited text.

    In the Options tab of the field properties dialog box, you can choose left, Center, or right alignment.

Maybe you are looking for

  • Looking for Home premium HP laptop pavilion Windows 7 drivers

    Hi guys,. I have losted one of my recovery disks, can I get my hp HP Web site mobile version windows operating system and installed successfully on my laptop, but I couldn't find my drivers - Standard VGA Graphics adapt, PCI Device, Ethernet controll

  • Problem with M30x-118, WIFI, WPA, blue screen, Reboot

    -J' have a Toshiba Satellite M30X - 118 1/2 years-J' have all updates MS new beginning of 19.07.05-J' have uptodate Bios Toshiba to the 19.07.05-J' have uptodate Norton Security 2004 beginning of 19.07.05-J' have a WIFI router at home with WPA active

  • Incorect using Microsoft Office product key

    I recently bought a Toshiba laptop with Windows Vista Premium installed.However whenever I try to check my product key to Microsoft Office, it s saying that it s wrong but its on the bottom of my laptop and I checked it many times. Someone at - it so

  • Communication of the nursing home

    Looking for a way to communicate with my mother in a nursing home. She has mild dementia and you cannot use the hands or voice to activate anything. Ideally, I would like to automatically pop in on a screen mounted near the TV, initiate a conversatio

  • map on

    Good evening I have format my laptop DELL inspiron 6000 and depui the no son market does not map the son is more intallee! Comment by faure?