Fill in the fields in a menu drop-down

Hello world

I managed to fill in a field in a context menu, but what I'm trying to do is:

a context menu with groups, for each group a series of names & surnames

If "name 1 1' is selected for example

the two fields would be filled separately by "family name 1' and «name 1'"»

what I've done so far: http://cjoint.com/13dc/CLfpNDrfwDA_test.pdf

could you please help me understand what could be the solution

Thank you very much

This is the kind of thing I thought. It is coded for clarity, not efficiency, but it should help you get started.

Script mouse upward to a button

var aParams =]

{cName: "Lincoln", oSubMenu: []}

{cName: "Abraham", return: "Abraham |"} Lincoln"},

{cName: "Mary Todd," return: ' Mary Todd | "} Lincoln"},

{cName: "Robert Todd" back: "Robert Todd |"} Lincoln"},

{cName: "Edward Baker", return: "Edward Baker |"} Lincoln"},

{cName: "William Wallace", return: "William Wallace |"} Lincoln"},

{cName: 'Thomas' return: "Thomas |"} Lincoln"}

]

},

{cName: "Buffett", oSubMenu: []}

{cName: "Jimmy", return: "Jimmy |"} Buffett"},

{cName: 'Jane', return: "Jane |"} Buffett"},

{cName: 'Savannah Jane,' return: "Savannah Jane |"} Buffett"},

{cName: "Sarah Delaney", return: "Sarah Delaney |"} Buffett"},

{cName: "Cameron Marley", return: "Cameron Marley |"} Buffett"}

]

}

];

Prompt the user to select a name

RESP = app.popUpMenuEx.apply (app, aParams) var;

Fill in the fields with the values selected

If {(RESP)

var names = resp.split("|");

getField("name").value = names [0];

getField("surname").value = names [1];

} else {}

getField("name").value = "";

getField("surname").value = "";

}

Tags: Acrobat

Similar Questions

  • Error message based on the text in a menu drop-down...

    So I have a simple numeric field and a drop-down text box (with, say, the values of 'Blue', 'Red' and 'Green'.)

    I want to set a minimum and maximum (say between 5 and 20) on the number of value field and send an error if the user enters a number outside this range. BUT the beach can be different depending on whether the user selects blue, red or green on the menu drop down.

    So for blue, the beach can be 5-20; for the Green and Red 7-22, 10-25.

    SO if the user chooses the blue then enters a 4 or a 21, there will be an error message pushing a value of 5-20.

    It is, in a Word.

    Any help I could get would be great. Thanks in advance.

    Thank you

    T.

    You want to apply exactly the same code for other areas? If so, it would be better to place it in a function at the level of the doc and call from each of them. Regarding their reset, it's like this:

    this.resetForm (["Text1", "Text2", "Text3"]);

  • Does not not on the website of phone menu drop-down

    I am currently working on a version of phone of my new site, and for some reason any the drop down sub menus do not appear in the navigation bar. Is anyone able to suggest where I go wrong?

    Hi Contemporary_Dave,

    Go to the options menu panel and check what type of menu. (For phone use)

    If it's 'Top level Pages' and then selecting 'All pages' in the menu drop-down will begin showing the submenus as well.

    In case the menu type is "Manual" then you create the submenu for each menu item or create a menu with the type of menu in the form of 'all pages '.

    Kind regards

    Vivek

  • Try to fill a text field of a zone drop-down list by using an 'if' statement

    I am filling a text field (modelT) with the text corisponding in the 'data' part of the selectedItem in the drop-down list box. The 'data' appears correctly when I use:

    modelT.text = event.target.selectedItem.data;

    But I'm calling it with an "if" (in red) and subsequently, I can dynamically fill the text field of the multiple drop-down list box. am I missing something simple, here is my code:

    Import fl.controls.ComboBox;
    Import fl.data.DataProvider;
    Import fl.managers.StyleManager;

    var cPurpose:Array = new Array)
    {label: "Execute task", data: "1"},
    {label: "Transportation equipment", data: "2"}
    );
    var purCb:ComboBox = new more;
    purCb.dropdownWidth = 260;
    purCb.width = 260;
    purCb.move (10, 300);
    purCb.prompt = "object of truck?
    purCb.dataProvider = new DataProvider (cPurpose);
    purCb.sortItemsOn ("label");
    purCb.addEventListener (Event.CHANGE, purchangeHandler);

    addChild (purCb);

    function purchangeHandler(event:Event):void {}
    trace ("Selected" + event.target.selectedItem.data);
    purT.text = event.target.selectedItem.label;
    purCb.selectedIndex = - 1;

    If (event.target.selectedItem.data == 1)
    {
    modelT.text = "T660"
    }
    If (event.target.selectedItem.data == 2)
    {
    modelT.text = "W900;
    }

    Thanks in advance for your help

    You must delete or move the following line so that it is not set to zero for the combobox control before trying to read what is selected:

    purCb.selectedIndex = - 1;

  • After you have reinstalled Firefox 11, I don't have a button in the toolbar to display my favorites in the form of a menu drop-down.

    I recently reinstalled Firefox 11. I have more option of a drop down button bookmark in my default toolset. The Bookmarks button available only creates a sidebar instead.

    You see only the bookmarks Menu button if the menu bar is hidden (view > toolbars or Firefox > Options).

    If the bookmarks toolbar is visible then the bookmarks Menu button appears on the bookmarks toolbar, among other items in the toolbar of bookmarks (bookmarks).

    If the bookmarks Menu button appears on the right side of the Navigation bar.

    See also:

  • Is it possible to have the accordion of top boxes smaller than the content of a menu drop-down?

    I am trying to create a drop-down list for my desktop site. The problem is the roll over area covers the other links (on us and facilities). Is there a way to make the box expanded content or the first dropdown to be narrower than the content area? Or is there a better way to implement?

    Thanks in advance!

    Screen Shot 2015-09-04 at 9.44.20 PM.png

    Have you tried composition of the ToolTip? In the composition of the balloon, the size of the trigger and target are not interrelated.

    And you can also hide the target area once you have finished the design by unchecking 'Lightbox see the part when editing'

    The only thing missing here is the transition as ToolTip composition has an effect of discoloration.

    Concerning

    Vivek

  • Prevent "Enter them the Proxy details" popup menu drop-down

    I use CC on a Mac in a school.  The school network uses a proxy, which means that CC Desktop cannot have a permanent internet connection.  If she needs to authenticate with servers to prove that my license exists, I attached the internet connection from my phone with the Mac to get online temporarily. The rest of the time, I have to settle with Office CC not being able to go online...

    Every 4 to 5 minutes menu CC bureau place the clock falls from a window asking proxy username and password.  It's really, really annoying because it immediately becomes the active window and everything I made in other applications is interrupted.  For example, while I'm typing this message, he jumped down and half of my sentence ended in the user name field.  How he stop asking my username and password?  Even if I enter the correct details, he denies them (probably because the port is blocked, or something technical like that).

    I want to disable this:

    Screen Shot 2015-04-30 at 13.39.18.png

    I've recently updated the Adobe desktop application using the internet connection from my phone (which doesn't use proxy) and after the update, I've seen these settings in the menu.  I had not seen these parameters before, so I guess that's something that adobe added with the update.  Now, the desktop application does not load when one of the Adobe start applications, so I don't get a proxy request!  Also, I came across a thread creative cloud & authentication proxy servers? which addresses have been released by your network administrator. That should help...  This thread addresses are below.

    Good luck!

    https://na1mbls.licenses.Adobe.com

    https://IMS-NA1.adobelogin.com

    https://adobeid-NA1.Services.Adobe.com

    https://na1r.Services.Adobe.com

    http://activate.Adobe.com

    https://activate.Adobe.com

    http://Adobe.activate.com

    https://Adobe.activate.com

    1. ccmdls.Adobe.com:443

    IMS - na1.adobelogin.com:443na1r.services.adobe.com:443prod - rel - ffc - ccm.oobesaas.adobe.com:443

    1. LM.licenses.adobe.com:443

    www-DU1.adobe.com

  • Problem to find the LUT processing log menu drop-down.

    I installed the utility LUT and can see utility LUT in the effects pane. I downloaded a free sample LUT of the Falcon and saved it on my desktop. It is in the cube, MGA and forms of 3DL.

    How can I get the LUT file is available from FCPX. I check the journal dealing with lower menu in "info" and it lists blackmagic, canon and sony but my READ of the Falcon does not appear.

    Any ideas?

    Get you in the "LUT Utility" filter.  Apply it to an element, in the Inspector, it will allow you to load an external file of LUT.

  • The value of a menu drop-down can be used in a SQL query?

    I use JDeveloper11g to develop a web application that displays data from a database table. To do this, I created the business of Table (entity) component that represents one of the tables in the database. I then use a component panelCollection to display the data in the tables.

    Assuming that the SQL of this entity is as follows:
    SELECT test.field1 FROM test WHERE test.field2 = :MyVariable
    I can sort the value : MyVariable equal to the value selected by a user of a component of selectOneChoice ?

    http://www.YouTube.com/watch?v=LAWSfO-7xR8

    http://www.YouTube.com/watch?v=VfBG3TcCEmI

  • Windows text disappears when I open a menu drop-down

    original title: TEXT disappears

    When I point to any word in the dialog boxes or need to choose all the options in a menu drop down, my text disappears and the text box is white.  Please help me fis this annoying problem.

    Hi YvetteKing,

    Thank you to contact the community Microsoft and we will be happy to help you with your concern.

    According to the description, I understand that, while you select a word or drop-down box the text box disappears and becomes white.

    He would be grateful if you can answer this question in order to help you further.

    Have you made changes on the computer before this problem?

    I would suggest trying the following steps and check if it helps.

    a. right click on computer.

    b. Select advanced in the left pane system settings.

    c. Select the running parameters.

    d. in respect of Visual effects, remove control "Use Drop Shadows for the desktop icon labels".

    Thanks for posting the question in the Microsoft Community. If you need others with this problem please do not hesitate to join us.

  • Added command "Combined" for Windows 7 Pro declining Acrobat menu drop-down

    How can I add the 'combine' order in my dropdown Windows Acrobat 9 Pro? He was there and is very useful for downloading and file management.  I would just select the files that I wanted out of any Windows to combine and convert to .pdf folder and select 'Combine' in the drop-down window. The window of "Combine" Acrobat open with my selected files in place ready to go forward with the combination. Do not know how the order disappeared in menu drop down but I want to go back!

    I guess my question would apply to the addition of any command to a drop-down list menu Windows.
    Thank you very much!

    Hello

    The question you have posted is related to Adobe acrobat and would be better suited to the Adobe community. Please visit the link below to find a community that will support what ask you:

    http://forums.Adobe.com/community/Acrobat

  • Show alert window when the selection is made in menu drop-down (or when the text field is filled)

    I'm a JavaScript novice writer and need help a warning window that meets the programming user selection form a menu drop-down.

    If the user selects any option except the default choice (which is just an empty space), I want an alert is displayed.  If the user is moving through this area without changing the default value, nothing should happen.

    I have a script attached to the "blur" event for the dropdown menu, but it appears each time you tab in this area, of course.  I don't know how to tell him to display the alert if and only if the user has changed the selection.

    Similarly, I have another field which is a simple text field.  If the user types anything in this area, I would like another alert window pops up.  The thing from the drop-down list seems a little more difficult, so if anyone can help me get that squared away, I can probably understand how to program the alert text field.

    In fact, it's the same code for both types of fields:

    If (event.target.value! = event.target.defaultValue) app.alert ("your message");

  • Fill in the field of text based on the menu drop down.

    Here's the scenario: I have 2 drop-down lists on page 1 (list1, List2). Based on this selection, I want to fill in a text field on page 2 with their values, after clicking on a button to update at the bottom of page 2. I use the button click event, but how can I get the actual values of each drop-down list on the previous page?

    You must give the full path to the objects (i.e. form1. Page1.DDListName.RawValue). look in the view hierarchy to see the structure you want. Conversely, you can place the cursor in the script editor where you want the reference to appear, hold done the key ctrl and move the mouse to the object you wish to reference (it will change into a V). Then click on the mouse and the appropriate for this object reference is displayed in the script editor.

    Paul

  • Create a drop down that fills the list based on the shape of the selection a menu drop-down.

    I need to set up a drop down menu which is popualated (i.e. displays a certain list of selctions in the drop-down list) based on the choice of the form user selects an adjacent list

    For example

    There are two drop-down list field sitting side by side in form

    1. Select State 2. Select the course

    I want to do is have a list of States in the first drop (State 1.Select) and depending on the State in which the form user selects, the second menu drop-down (2. Select courses) is filled with a selction of courses available in this selected only State (i.e. will it be on; show course available in QLD if QLD is selected).

    Is it difficult to do?

    Hello

    You can also use events preOpen from the drop-down list, to recall the previous selections in other objects and populate the drop-down list accordingly: http://assure.ly/jcTahK

    Good luck

    Niall

  • 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

Maybe you are looking for

  • Ripped the CD now MPEG not AAC.

    I rip my CD via iTunes and the AAC encoder [iTunes more]. Recently, I moved my music from one computer to another, now when I watch the news of track ripped from CD it says it's an MPEG audio file instead of an AAC audio file [it 100% used to say of

  • 'right' button no longer works on Satellite A200-1ZF

    Hi all I have a Toshiba Satellite A200 1ZF, and it's very nice. I have no problem with it, but now, since 2 weeks, the 'right' button no longer works.I tried a windows reinstall. I took and cleaned the surface, but nothing. He's dead. Can someone hel

  • Mistakes "WindowsUpdate_000000FF" "WindowsUpdate_dt000"

    ????

  • How can I get the windows firewall work

    My wife got a call from someone of 'Windows', she paid and downloaded two programs that did not, the damage has been catastophical, I ended up using my windows disk and reinstalled windows XP, but still a problem, that I could not access the windows

  • Invalid key for the specified state

    Re-install the lightscribe software: connect to screen (thin name / business very well / product key appears in the entrance to the screen.)  When I press on enter = error message - INVALID KEY for SPECIFIC STATE?    FROM WHAT I UNDERSTAND, IT MIGHT