New user - script needs help

Hi people, new user here.

Have a text field I want to be hidden until one of the two radio buttons in a group has been selected.  Any help is greatly appreciated.

Rick S/San Antonio, TX

You can do this in different ways. Here is an example. Use the following the calculation script customized in your text field that must be hidden or shown:

var f1 = this.getField("Group1");
var shouldBeVisible = (f1.value != "Off");
event.target.display = shouldBeVisible ? display.visible : display.hidden;

This can be shortened a bit, but the shorter code is not necessarily more readable. If you have problems to understand what is happening here, please see the core JavaScript language syntax. What you need to know, is that a group of radio buttons with no selection will report 'Off' as its value. If the field should be visible when the Group of radio buttons is not set to 'Off '. In this case, we set the event.target.display property (you can find out what it means in the Acrobat JavaScript API documentation: Acrobat SDK Documentation DC: event.target ) display.visible or in the other case display.hidden (once again, it details in the documentation of the API).

Tags: Acrobat

Similar Questions

  • New to scripting - need help!

    I have a purchase order of acrobat (pro 9.0) containing 4 fields called sub1, sub2, sub3 & sub4. Here is the subtotal fields that should contain the number 8 if the user entered numbers correctly. I have a field of total which should have the following code in it:


    If sub1 = 8,

    Then, add 20 to the total.

    If sub2 = 8,

    Then add 20 to total.

    If sub3 = 8,

    Then add 20 to total.

    If sub4 = 8,

    Then add 20 to total.

    I need to translate this in Javascript and need all the help I can get.

    Thanks in advance

    No. I assumed you wanted the result in a field of text called 'Total '.

    Create a text field named "QtyBoxSetTotal" and put this code in the custom tab calculation script box calculate (found in the text field properties) to this text box.  You also need that box 'Read only' so that nobody tries to enter a number in this area since its value will be calculated.

    Then you'd have five areas of text in total.  Four would not make any script (and would be named "Sub1", "Sub2", "Sub3',"Sub4"and the fifth area named 'QtyBoxSetTotal' would have the javascript code I gave you.  The value of the event would be calculated by the script and displayed in this text box ("QtyBoxSetTotal"), and the other four boxes would display the number entered by the user.

    In addition, you can put a verification code in the other four areas to prevent the entry of a number which is not equal to 8 If you do not want the user to enter a number that is not equal to 8.  Do you need to set the text under the number format and then enter a valid numbers range from: 8 in: 8, in your example.

    I hope it clears.

  • Hello, I have a new Mac, I need help to install adobe photoshop c6 I need to install and pay fees I want. but I've been trying and get no days... I had the version of 30 days and will not let me buy him. I NEED FOR MY WORK PLEASE

    Hello, I have a new mac, I need help in installing adobe photoshop cs6, I need to install and to pay the tax. But I've been trying and don't get days, I got 30 days version and will not let me buy it. I need it to work. Please

    Hi the isac,

    You can download Photoshop CS6 from this link: download Creative Suite 6 applications

    You can buy the product from this link: Creative Suite 6

    Kind regards

    Claes

  • A brand new user has need of little help and advice...

    Hello

    I just took the bold gamble in Indesign and it's the first day of my 30 day trial.

    I need help and advice from you folks... Please.

    I have been successfully creating Brochures A5 (A4 folded) using MS Word and print it on a desktop printer. MS Word sorted my order page for me when printing to the correct pages have been implemented.

    I read as much information that I could find, but I'm still able to do the same in Indesign.

    I'm looking forward to you use the advanced functions of layout and have control over what I do, but I need to work on this fundamental step before going any further.

    I hope that what I explained is logical.

    Concerning

    John

    So presumably you create a new document, the portrait of the A5, facing pages. Make sure that your number of pages in the document is a multiple of 4.

    Create, type, twist, meditate, edit, smile, save.

    To create your booklet using InDesign, on the file menu, select print booklet.

    You will probably need to jump back from the button print settings, adjusting the size paper, Orientation, color, and in the print tab booklet for 2-high shot on horseback.

    A large part has been posted on this topic, these are the basics, printing booklet is not the best module ever written Adobe, IMO

  • New GoPro camera need help with rate of 240 fps for idle

    I'm enjoying the possibilities offered by the new extreme sport GoPro camera and need help when it comes to using different rates in Premiere Pro. The pictures I brought in was shot at 240 fps and are indicated as such in the project Panel. However, when I preview the item in the Source Panel he rereads at normal speed and he has not slowed down. If it was shot at 240 fps so I think that Premiere Pro would play this back to 29.97 FPS and true would be slowed down.

    I am a beginner and you have to learn how to treat slow clips that I bring that are supposed to be slowed down.

    TIA,

    Ken

    Rod,

    You are not wrong, exactly, but I must respond to some of your statements. Premiere Pro is not what some think to do this. Craig and I had this conversation recently. When it Premiere Pro sees 240 fps on a sequence of 24 frames per second, it gives executives. About 90% of them.

    Keep in mind that some people turn it quickly because the action is fast, and they want that expected as fast they can project.

    Let's say you have a movie projector that shows 24 fps. No matter what film reel you load into this projector, you see the film at 24 frames per second.

    Premiere Pro will change the 240 IPS or 60 frames per second to 24 frames per second by dropping frames. It is not generally what people want if they have bothered to get away with it. Yes, it shows you 24 fps, but by dropping frames, is not playing frames one at a time.

    This means that if you shoot at 48 frames per second, you get slowed down when projected at 24 frames per second.

    Only if interpret you it or use an effect to slow it down. The effect is not as accurate as the interpreter.

    Think of it THAT WAY and find out what you have to do to make your premiere pro version are TREATING your images like it is projected at 24 frames per second.  In other words, no boxes are deleted. No boxes are added. NOTHING moves the way you SHOT IT.  Each image you shot will be used exactly as you he turned.

    Once again, that if interpret you it this way.

    This is NOT MATH or EFFECTS etc.

    Well, if interpret you it this is not mathematics, but if you slow down using a percentage, then it is math, and I do not think that it slows down the effect of which is the right way to do it.

    Don't download misled by all unwanted people enter with making it slower or faster time with interpolation.

    If you can not Surdemarrage or shoot at a higher rate, interpolation is all you have. But Ken did not have this problem, thank God.

    If you don't know exactly which continues with the sequences interpret things adobe has some help specify exactly files.

    There's not much to it. If you want to slow down 50% interpret it at 120 frames per second. If you want to slow down 90%, interpret it to 24 fps. Anything in between is up to you.

  • New to Flash, need help.

    I'm new in the world of Adobe Flash and who need help. I have a banner rotator fla file is an xml file to produce the content. My question: How can I rename the file "config.xml" in "BannerConfig.xml" xml and still have it work with the flv file?

    We need a code in the FLA somewhere that specifies the name of the file to edit.  The code must be on the time line of the (or a).  If you see a frame (or frames) in the calendar that has a lowercase 'a' in this document, select this image and open the Actions window to view the code.  It is always possible that the code inside a movieclip as well.  And if the file uses AS2, it could even be attached to a symbol on the stage, in which case you will need to select the symbol on the stage, while the Actions panel is open to see the code.

  • MF hangs at startup, but works in safe mode and a few minutes after I made a new user, can anyone help?

    After a repair for a few hours, I don't always find a good solution. Actually, I've learned that if I create a user profile, with this command in windows Run: "C:\Program Files\Mozilla Firefox\firefox.exe" - p, I can open the profile user manually and create/delete menu a user new/UN-new, and the creation and use of a new, it works fine. Open the browser, in any case, in which she translates into the same problem as before for a couple of times. I made a list and compared the old files for files users a whole new and found some differences. Indeed, take

    Compatibility and .ini file extensions differ by 3 KB, with a new user being 1 and the former user 4.
    The RDF store Local file differs from 2 to a new user, 4 for a former user.
    The RDF file Mime Types differs from 3 for a new user to 4 for a former user.
    Plugin Reg(istry?) .dat differs from 17 news for 20 old ones.
    Search.JSON differs from 13 to 16 old news.
    Search Metadata.json differs from 1 new on 4 old.
    Classifier URL 3 key. txt differs from 1 new on 4 old.
    Web App Store.sqlite differs from 96 to 128 old news.
    (All units are KB)
    Because a few articles about the problem are "more maintained" and the solutions work only temporarily, I came here hoping to solve this little problem. Thanks and good luck in advance.
    -Av
    Notes; the first crash, what ID for the new user that crashed, the last is for a former user.

    If this problem just started in the last few days, I can guess that you are using google.com (or a localized variant) for your home page.

    If this is the case, the Olymoic "doodle" animation is causing crash at startup. Mozilla developers are aware of this issue and are looking into it.

    For now, change your home page, or use a blank page when opening Firefox and then press the Home button to load you the home page. A real difficulty doesn't could not be 'pushed' until after the Olympic Games are finished and Google goes back to a static doodle.

  • Hey guys new here and need help guy how to turn on my CS2 after 30 days grace. It's an older version, I bought new off Ebay and I tried all online and phone nothing has worked and now it does not open?

    need help with an old version of CS and I tried to active several times in 30 days and it don't work and now it will not open now help please!

    CS2 (or earlier version) software activation server replacement

    NOTE that CS2 will not install on a Mac "modern."

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.htm

    When you install the special version of the PPro2 on a Win7 or Win8 or Win10 computer, you may need to right click on the program icon and select compatibility Windows XP in the popup of option

  • New Labview user. Need help with PDM

    I'm reading the data of 30 thermocouples, he discovered in real time on my interface and keep it for further analysis. Sales guy suggested I use TDMS it display the information in the same way if I had to do a right click on a wave form, then click 'export Excel' (30 columns representing each thermocouples and a column for the moment). The test would go for an hour or two, and each channel could save data to one sample per second. I tried to make this parameter adjustable on the interface as well as adding a clock that could be adjusted to set the duration of the tests, but too late for me because I've only been using labview for a week or two.

    I have a code that worked fine, until what I put in what I thought was acceptable code to store a PDM. Now, the code will run, but seems as if no data is read. Is there an easier way to accompish this task or I am just on something very simple? Thanks for the help!

    I took the liberty of cleaning of your VI some.  You had a lot on your front too.  He was also thrown everywhere.  Group together things that are similar, so you can easily find what you are looking for.  You have also had a lot of indicators it the only reason for them is debugging.  This is what the probes are for.  I also condensed your block diagram.

    I hope this helps.

  • Help - new Web design - need help to create a web gallery

    Hello world

    I am new to web design. I'm working on my first site and I have a bunch of images (approximately 30 or more) I want to put in a web gallery with captions. I know there are a ton of tutorials Gallery out there, but I'm a little hesitant, which might work better for me. You see although I Flash I am not too well known in it yet so I use mainly Dreamweaver to create my whole site. I'm also not sure how to allow visitors to view a Flash site - is - it downloads required to display it? That's why I'm kind of leaning towards not not using a Flash due to my lack of accessibility inexperience and the user web gallery. I'm basically looking for a web gallery with thumbnails on the side or at the top or bottom that if clicked open the picture in a larger preview area. I also have captions under each photo. I also want it to look sharp or professional (with a clean container, it sits in) do not like some of those that I see that you can create in DW automatically that looks as it did in the 1980s, haha.

    If you guys can point me in the right direction, I would be very grateful. I know I still have a lot to learn, but I appreciate the help.

    Thank you!

    And while we're name commercial products, I find it an excellent product

    http://www.WebAssist.com/PHP-scripts-and-solutions/powergallery/

    GRAMPS

  • Buy the new iMac and need help to understand the new options

    Replacement of the motherboard of my 2009 end iMac is unaffordable, so I'm looking to buy a new one. But the 'talk' has my head swimming. I know I want a 21.5 inches and that's it. My biggest complaint to my death machine now it was slow. However, I attributed as uVerse (Internet) and not my Mac; Maybe I was wrong?

    My previous was 33. GHz Intel Core 2 Duo 8 GB, DDR3, a SATA 1 TB disk. I'm an independent publisher, it's full of documents, PDF files and tons of photos but apart from that... I did not use the design software (although I want to go in this area) and pretty much could have several tabs in Safari, Facebook, Word and Adobe open at the same time... nothing too taxing.

    So what do I need? I read everything I can find and I can't yet answer that question!

    Do I need a Fusion player (and what it is anyway)?

    What is the difference between a Fusion of 1 TB drive and a 256 GB or 512 GB flash drive?

    If I get in InDesign or Quark, Photoshop, will it take more RAM so I should just go with 16 now?

    Is the standard 2.7 GHz quad-core i5 processor fast enough, or should I switch to 2.9 or even the quad of 3.1 GHz with i7 processor? (allowing it to run faster, more RAM or higher processor?)

    Any advice or the definition terms would be MOST appreciated! Thank you!

    In your situation, I would buy the 1 TB drive fusion, quad-core processor i5 2.7 GHz with 16 GB of RAM. The RAM is perhaps an exaggeration, but you cannot add it later these days so I think 16 GB is safe. You should get a noticeable performance gain compared to your current system.

    IME, most of the complaints "My Mac is slow" result of naïve users be swindled by adding the third "crapware" such as antivirus programs, "cleaners", "optimizers" and "extensions". After a report of EtreCheck for your current computer see if it is the problem.

    It is possible that adding an SSD in your current setup will give you the extra boost you are looking for, but if you use the machine to make a living, I'd be inclined to think that 7 years is old enough. Be sure to ask your accountant and covers the cost of your new machine against the tax.

    Please take the opportunity to review your backup strategy. When it's your life on the line, you must have at least two external drives for backups. Keep one off-site and on-site, and rotate each week.

    C.

  • Problems with the installation of new system. Need help.

    Hello

    I'm new here so I'm sorry if I posted this in the wrong section, I tried to look for this subject but nothing similar has come so I decided to create this.

    I have a HP Pavilion DV7-1020ea, which came with Windows Vista Home Premium 32 - bit installed and a recovery disk that was on the D: partition, but no real recovery disc/DVD.

    This laptop has had a hard drive failure lately, so I replaced it with a new hard drive cool (320GB, same accompanying).

    The new drive as you probably already know is fresh and it does not all partitions or any information, so without recovery of D: partition.

    I need to mention that the phone was fully functional, keyboard, touchpad, and quicklaunch worked correctly.

    I have some experience with computers, so I know how to recover, set up the startup in the bios etc.

    I tried to install Windows XP Professional 32-bit and Windows Vista Home Premium 32 - bit on my laptop but I found out that the DVD drive makes a funny (not damaged or broken), as a lack of sound recognition. The two systems of Windows are original, and I have a license for them.

    Its different when I try to install WIndows 7, the DVDs are recognized immediately. All system disks work on other computers and work quite correctly. The portable disk drive is not damaged.

    The only thing I saw was: No. Bootable Device (3FO)

    I didn't know what to do so I handed the laptop to an expert.

    When I arrived at my computer back, the computer had Windows 7 Ultimate 64 bit installed, but the problem was that quick launch buttons, keyboard and Trackpad was not working. The only way to use the computer was to plug in an external keyboard and mouse which is not a solution.

    -The keyboard not working outside not BIOS, press No button in text fields do not work. The only functions that worked were when I pressed fn + f8 to make the screen brighter and oddly enough, it worked, so when I pressed the keyboard caps lock, caps lock lights on the laptop keyboard as well.

    -The touchpad itself does not, the keypad or buttons. The only thing that works is the light that changes when I press the button disable from white to red, and then from red to white.

    -The quicklounch does not work. The works of power button (turn on the laptop since it is a button) but the led behind it does not work. For speaker and Wifi light is always red (off) and even when I touch it, it will turn blue/white. The rest has a white light behind her, but does not work.

    I also noticed that when I go into the BIOS, the bios is absolutely slow. It takes about 30 seconds to react when I press the buttons on the right, but also it does not react sometimes and it's like in all sections (but it works for keyboard).

    Later, I went to the Device Manager and discovered that there are 3 basic system devices that are not installed. I tried to install by searching online and locally, but no drivers were found.

    All devices have "the drivers for this device are not installed (Code 28)" and the drivers can be found online or on-site.

    Details of devices:

    Basic device PCI system bus 6, device 0, function 3

    Basic device PCI system bus 6, device 0, function 1

    Basic device PCI system bus 6, device 0, function 4

    Trying to fix my keyboard, the touchpad and quicklaunch buttons I went on Synaptics website to download the drivers for the touchpad, updated it, restarted, did not work. I also went on the official site of HP to download the drivers for quicklaunch to my computer, keyboard and mouse, put up-to-date, did not work.

    I also tried to put in the DVD of Vista and XP DVD to see if the computer is able too see them at all, but when I went to my computer and looked at the DVD player, it says "Insert disc in drive E:." so none of them have been recognized by the computer.

    I don't like Windows 7 and I would really like to have my laptop runs on my old system which is Windows Vista Home Premium 32-bit with keys on keyboard, keypad, tactile and functional quicklaunch.

    Could you help me then install the Vista drivers or to solve this problem?

    Tank you!

    You are the very welcome.

    See if the chipset driver installation done something to help.

    https://Downloadcenter.Intel.com/Detail_Desc.aspx?AGR=Y&ProdId=816&DwnldID=20775&keyword=chipset+installation+utility&lang=eng

    It would be the only suggestion I can offer.

    I think you have a motherboard problem or something related.

  • New cascade, I need help getting started to learn

    Hi all

    I'm new to Cascade, so confusing to start.  I have a question that needs your help to clarify:

    1. I create a control in QML Editor, because of the ease to make and listen to samples, give the id to it. So how do the handle in C++ code?

    2. are there any resource tutorial for some basic needs, such as: collect the text box data, display data, etc...

    There are a lot of samples, but I need an explanation of principle so that I can get contact with the sample easier.

    Enjoy your share!

    1. https://developer.blackberry.com/cascades/documentation/dev/integrating_cpp_qml/index.html

    2. https://developer.blackberry.com/cascades/documentation/dev/javascript/index.html

  • New to VMWare, need help with my setup

    Hi everyone, I'm trying to run a specific installation to a laboratory at the House and I'm stuck. at this point I don't know if this is even possible. I have a virtual running Windows server 2012 and a Win7 machine empty. What I need to do, is be able to pxe boot the empty machine since the 2012 server which is running WDS. The service is running, and check all options out_ it is configured as a domain controller and operating dhcp options 60 and 67 correctly configured. Any network settings I try the vm vacuum does not pick up the file of pxe boot from the server... is this even possible or should I try a different product at this point?

    It will probably prove to something simple because I'm new on this but no amount of Googling has done for me so far. Thanks in advance for any help and suggestions!

    Hello

    Welcome to community work station!

    Practices of related laboratory PXE is supported by VMware Workstation. Here is an example for windows: VMWORSTATION 12 PRO, need driver of storage for MDT

    Some tips for the network configuration of your lab environment:

    1. use an independent VMnet for PXE service, DO NOT use bridged VMnet. And you would NOT use better VMnet NAT (aka VMnet8)

    How to:

    a. click on the menu "Edit"-> "Virtual Network Editor... workstation "to open the virtual network Editor.

    b. click on the "Edit settings" button, accept the UAC warning as appropriate.

    c. click on the button "add a network...". ».

    d. Select a new VMnet (I'll use VMnet2 for example), click on the OK"" button.

    e. click 'Apply' then 'OK' in the virtual network Editor dialog box.

    f. open the settings of your virtual machine VM

    g. Select the tab "Hardware"-> "Network card", this "connect to power on" is checked

    h. Select "Custom" and the VMnet you added

    i. click "OK" in the dialog box settings of VM

    j. Repeat step f through i for all your virtual machines

    2 disable DHCP this VMnet of Virtual Network Editor(Technical speaking, it's not necessary, just in case)

    How to:

    a. click on the menu "Edit"-> "Virtual Network Editor... workstation "to open the virtual network Editor.

    b. click on the "Edit settings" button, accept the UAC warning as appropriate.

    c. Select the VMnet you use for the PXE service

    d. uncheck 'Use local DHCP service to distribute IP addresses to virtual machines' option

    e. click 'Apply' then 'OK' in the virtual network Editor dialog box.

    It will be useful.

    Kind regards

    Shawn

  • I just got a new computer and need help to reinstall Lightroom

    I need to re install lightroom to my new computer, how can I do?

    It may depend on which version you need to install.  Here are the links for the licensed versions.

    Lightroom - all versions

    Windows

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows

    Mac

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

    If it's a cloud of importance then you...

    Download/install the desktop application, connect and install applications subscription.

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

Maybe you are looking for