Make the text visible/invisible field based on the menu drop-down

I currently have a form that automatically calculates dates based on the value in particular the "Text10" field with the current script of

Custom calculate script for the field 'date '.

(function () {}

Get the date in the field

var v = getField("Text10").valueAsString;

Convert string to date

var d = util.scand ("mm/dd/yyyy", v);

Add 30 days

d.setDate (d.getDate () + 31);

Fill in this field with the result

If {(v)

Event.Value = util.printd ("mm/dd/yyyy", d);

} else {}

Event.Value = "";

}

})();

I want to thank this option to hide the field if one selects a particular value in a drop-down list. Allows to call the drop "decline.1" and values are just 'Yes' and «» Yes makes visible, hide it.

Is this possible? I looked through the forums and can't seem to find a solution. I use Adobe Acrobat X Pro

Thank you

Yes, it is possible. Just add the following line, this isn't little matter so long it after the first year and before the last:

Event.Target.Display = getField("drop1").value = 'no '? Display.Hidden: display.visible;

Tags: Acrobat

Similar Questions

  • How to fill a field based on a menu drop-down select in another area?

    Here's what I'm trying to do:

    1 field is a drop down selection menu that requires a user make a mandatory selection that is in this case a list of apartment complexes. What I'm trying to accomplish, is once the user makes a selection in the drop-down list (field1) that it will fill the standard box 2 (txt) with the corresponding address of apartment complexes.

    So I seek Talan field 1 apartments, it could fill with Talan apartments address 2 field. I tried messing around with the calculation scripts, but I'm a fight lost here. Little help would be greatly appreciated!

    Hello

    Here's a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script to the output of the drop event sets the value of the object of the address.

    Good luck

    Niall

  • How to make the menu drop-down list with a scroll bar

    Hello

    I have a drop-down list that is filled with different table sizes.

    I have a size of 30-element array.  Some of the last items just go off the screen at the bottom of the Simulator PB.

    Is it possible for me to add a drop-down scroll bar?

    DP = new DropDown();
    dp.rowHeight = 24;
    DP.prompt = "stuff";
    DP. Height = 34;
    DP.width = 230;
    DP.x = TitleTB.x + 170;
    DP.y = Title.y-3;
    addChild (dp);

    Some of the tables look like this-

    case 'List 1':
    dp.rowCount = 2;
    for (var i: int = 0; i<2;>
    {
    if(i==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"blahblah"});)
    }
    else if (i == 1) {}
    DPP.unshift({label:"foofoo"});)
    }
    }
    dp.dataProvider = new DataProvider (dpp);
    addChild (dp);
    break;

    case "List2":
    dp.rowCount = 30;
    for (var n: int = 0; n<30;>
    {
    if(n==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"lalalala"});)
    }
    Else if (n == 1) {}

    **********

    Delete the existing table using splice (0);

    then I add the new array of labels.

    Before, when I didn't have the splice (0), I only had the .unshift () and sometimes got bays combined together and a scroll bar appears automatically in the Simulator.  But then the berries were mixed.

    Thanks for the help!

    Hey mlin13,

    from the looks of it, your property rowCount is set too high. the rowCount property represents the number of lines displayed on the screen when the drop down menu is open. so if the number of rows is less than the amount of items on the list, it will create a scroll bar with a drop-down list for you. try to set the number of lines to a default value of 10 and and keep it manipulate your list from there. and see if you get the desired results. Good luck!

  • Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Please check layers panel and put in place the menu item in the list, you can use the layers panel and move up or attempt to move the content.

    If there is still the same, then download a few screenshots of the design view.

    Thank you

    Sanjit

  • The bookmarksdrop in the menu drop-down is too big, as it covers the greater part of my screen - how can I make it smaller.

    Whenever I select the menu drop down Favorites, it is so big that it covers the major part of my screen. Then, when I go to a folder in the drop-down menu, if I stop to any other folder, it opens and is so great that the menu drop-down or completely covered. This is VERY irritating and I never had this problem before moving on to Firefox 5.0. How do I don't cure it?
    I use a MacBook with a 13 "screen

    It is probably because you have one or more bookmarks with a long title.

    The width of a column in the list of bookmarks is in the current versions of Firefox automatically adjusted the bookmark with the longest name.

    You can check the names of the bookmarks and the longer more short.

  • Multiline entries in the menu drop-down

    Hi - I have a dropdown list with a very long list, display in a fixed field area. Some of the entries are very long, and since the menu drop down allows only one line, the rest of the entry is hidden. Is it possible to get the drop down menu to view multiple lines? Or at least to commit the selection to class landlines box multiline?

    A drop-down list oly shows simple lines.

    But you can use a textfield as alias to design something similar.

    I have an example of a form with a table that uses a drop-down list field that is usually with white text.

    When you enter the drpdown, the text becomes black.

    You can select an entry that will be then filled in a textfield alias that can display multiple lines.

    After that, the text in the drop-down list returns to white.

    https://Acrobat.com/#d=kvGJ4kTvXaZHj5g6LJpP6Q

  • Out of script in the menu drop-down model, is it possible and how?

    Hi all

    I started working with the vRealize today, my goal is to receive the output of the workflow of the script or in the drop-down field as a plan of action.

    For the first question, I want to ask you if it is possible in the vRealize or it is not difficult to do.

    For now, I wrote the script with return of table .

    The com.commonlab.emapotaa.scripts/getList function is:

    var arg0 = ["test", "test2"];
    return arg0;
    

    And my settings are:

    Capture.PNG

    My goal is to get the JSON content crawled to the drop-down list.

    For now I made the script runs every minute for the list and save it to file, the script will load content from the file parse for array and return as a drop-down list, but his does not work even with primitive table and return.

    It is possible at all?

    You have any ideas, how do I get the output of the script in the menu drop-down entry?

    Thank you!

    Marek Potargowicz

    Hi, it works very well for now, simple return works do not know why it was not working before

    Now, it's great

    Kind regards

    Marek

  • Y at - it an option to activate the menu drop-down overview of the policies?

    Until about a week ago, I could type in the menu and the box of selection taking place and I could select fonts. (as in the image below) Now, it only goes to the exact police that I type, and there is no drop down with it. It's really make things more difficult for me. I can get the menu drop-down appears, but only if I click on the arrow and use the mouse. The second, that I start typing it disappears.

    Does anyone know how to recover my preview? I'm worried that I hit a weird keyboard shortcut.

    Untitled.jpg

    There are two search modes. Maybe you changed it. Read about it in this article.

    New features of Illustrator CC Type | Design of Type and layout in Adobe Illustrator | Peachpit

  • Change of image in the selection of the menu drop-down

    I am very new to LiveCycle ES 8, trying to get what I think can be called a dynamic image. When you select a value in the menu drop down, the image changes on the other page, to adapt to the value selected in the previous page. I'm not a programmer, I'm ready to do what I can to make this work. Any help would be greatly appreciated. Thank you.

    Hello

    It is possible to achieve what you want. You will need a few items:

    • drop-down list object script;
    • objects 'image', one for each image you want. It would be set to hidden.
    • object 'imageField. You should only one of them. The initial value is null. The script in the menu dropdown will fill the imageField with the object of the appropriate image.

    When you configure the drop-down list, it may be convenient to specify values in the binding tab (for example, 1, 2, 3,...). Then, in the script, you can view the numbers rather than the strings that the user sees in the drop-down list.

    The imageField1 must be set to access read only in the initialize event:

    This.Access = "readOnly";

    This will prevent the user of the substitution of the image.

    When you configure the image1, image2, image3 objects make sure you check the "embed image data', users can not have images available to them.

    You can put similar Javascript in the event of release from the drop-down list:

    If (this.rawValue == 1) {}

    imageField1.rawValue = image1.value.image.value;

    } ElseIf (this.rawValue == 2) {}

    imageField1.rawValue = image2.value.image.value;

    } ElseIf (this.rawValue == 3) {}

    imageField1.rawValue = image3.value.image.value;

    }

    Good luck

    Niall

    PS because the drop-down list object and image objects are on different pages, you will need full references. If the drop-down list is located on page 1 and the pictures on page 2, the reference should look like:

    Page2.imageField1.RawValue = page2.image1.value.image.value;

  • I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not display in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not appear in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    You must save the spreadsheet containing the new date as a model format and use this custom template for each new spreadsheet where you want that this date format personalized at your disposal.

  • symbols of site little left of the names of sites in favorites have disappeared in the menu drop-down

    These are the small individual square symbols identify the Web site. They are present when checking under "Show all bookmarks" menu drop-down [which opens the info files], but do not show that they were previously in individual link lines in the menu drop-down.

    Hi nateich2,

    You should take a look at this article which discusses some of the problems with the latest version of Firefox.

    There is some information here that should help you solve your problem. Fortunately, this is a very easy solution.

    Hope this helps!

  • Epson Workforce 545 all-in-One: project of black and white print option is no longer in the menu drop-down

    Hello. I am trying to print in draft mode, black and white, but since I recently installed and then uninstalled a printer canon, printer all-in-one Epson Workforce 545 is more offers me black and white mode fast draft on the menu drop down.

    Thanks in advance for your help.

    It is a forum of HP.  The Epson Workforce 545 you had to best results in the Epson support pages here.

  • Is there a way to return to the menu drop-down button "return"?

    It's a giant pain click back several times when before I could just look in the menu to find the page I wanted to come back.

    Is there a way to do this somewhere else perhaps?

    You can get the menu drop-down by clicking on the previous/next buttons or now the left key pressed until the list is displayed.

    If you want the drop-down arrow, you can add it with the add-on of dropmarker rear - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • When I go to delete a bookmark - I click the menu drop down and the page that I just removed is still there. What I am doing wrong.

    I click the menu drop down and highlight and open the web page and then I click on the yellow star and choose the tab delete press done and when I close and click the menu drop-down new my web page is still there that I wanted to delete.

    Click right a bookmark in the menu dropdown bookmarks and select Remove to remove the bookmark.

  • 660 x Schematic of the low resistance of the menu drop-down

    The 660 x data sheet mentions that the State of market has an entry (high Z) with low pull-down, but I can't find a diagram with this low resistance value of the menu drop down.

    I want to measure a clock signal on my DUT without loading or distort the signal, so I intend to use a buffer. I am concerned about the current required drive to overcome unrolling integrated resistors and the requirements of threshold as a result of my meter PXI-6608.

    If anyone has a link to the recommended buffers, levers of level or an article in the knowledge base with an example circuit, it would be much appreciated!

    http://www.NI.com/PDF/manuals/372141b.PDF

    It was working fine. I look forward to adding to my next PCB ITA.

Maybe you are looking for