Automatically populate a drop-down list by using another selection from the drop-down list box

New java/preparation forms so I apologize in advance.

I currently have a menu drop-down box 1 (Occupation) with three options: "enter your own description/blank", retired housewife. When someone chooses either retirement or anyone at home, I would another drop box 2 (employer) to assign automatically "n/a. . The employer drop box has only two options: "enter your own/blank", N/A.

Far, I could for that box to fill but only when the person clicks in the box (as if they were about to enter their own text.) Then only it will fill the drop-down list "employer." I would like it auto fill once the person has chosen retired, Virgin or stay-at-home woman without having to enter in the box (just using the arrow to the size of the drop-down list box).

I currently have a key shot that resets the employer box when a person chooses the option vacuum/enter your own option. I then a JavaScript (only for the housewife now) that only works if you click the box of. Key combination works I want to than the other options work as well. If the client settles on white, the choice of the employer updates automatically empty without having to click in the box of. Any help (including general advice to make my code cleaner) is very appreciated!

Current script of typing:

If {(event.willCommit)

If (event.value == "") this.resetForm (["use"]); of other SetFieldValues (event.value);

}

The current upward, mice running JavaScript :

var v = this.getField ("Occupation") .value

If (v is "Housewife")

  1. this.getField("Employer").value = "N/a".

I think maybe I should use event.willCommit in my formula, but I'm not sure how to include it.

Thank you!

I would not use the key sequence or MouseUp actions for this, but the action post.

Just make sure that you set the field option to validate the selected value immediately (under Properties - Options) and then use this code as the custom validation script:

var employerField = this.getField("Employer");
if (event.value=="Homemaker" || event.value=="Retired")
    employerField.value = "N/A";
else employerField.value = employerField.defaultValue;

Tags: Acrobat

Similar Questions

  • How to create e-commerce site using adobe muse from the beginning to the end, please

    How to create e-commerce site using adobe muse from the beginning to the end, please

    Mylenium, why comment you on the forums of Muse? I've never seen a useful comment on these forums. You seem to just upset against Muse all the time.

    in any case, definitely go with widgets Ecwid and J-26. They are the best.

  • I use a PC and I used LR3. I'm a newcomer to LR, so patient with me! My problem is related to the import function. I have a photo library on an external hard drive. I slowly imported previews of the photos selected from the library in

    I use a PC and I used LR3. I'm a newcomer to LR, so patient with me! My problem is related to the import function.

    I have a photo library on an external hard drive. I've slowly been import previews of the photos selected from the library in my catalog, adding them during the import process - well. But now, I hit a problem. Another folder in my library contains several subfolders, each containing a number of photos (a mixture of RAW steals (naves) and jpg). I was importing found in my catalog each Subfile in turn, using the Add function, usually of the jpgs only from each Subfile. It works fine, until I reached a particular Subfile. For some reason when I try to import from it and select the secondary file as a Source, only the RAW (NEF) images appear in the preview pane (sorry, forgot the correct term for it!). I know that jpg files are in this auxiliary file on the external hard drive, because when I view its content in Windows, they are all there. But try as I can (choose the file under source, select the folder parent as a source, try to copy or move them, instead of adding them), nothing seems to work. Since they do not appear in the preview pane, I can't import them. It does appear that this a Subfile where the problem exists, but I don't see anything that is different from the others (names of files under all use the same structure - yyyy-mm-dd_custom name, and pictures in all subfolders are adopting the same denomination structure too - yyyy-mm-dd_sequential number_custom name.) NAVE/JPG. So what I am doing wrong? Any ideas please.

    It is possible that the images in this particular subfolder were taken in your camera in RAW + JPEG.  If so, you will need to go to preferences under the general tab and make sure the box "processing JPEG files files next to raw as separate photos" is checked.

    However, assuming that this is the case, there is really no reason to import the JPEG file if you already have the RAW file.

  • ORA-22992: cannot use LOB Locators selected from the remote tables...

    Oracle 10.2.1.0.4
    Solaris 10

    We try to access a table in another database via a db_link.

    The table we are trying to access has a LOB.

    We get the following error: ora-22992: cannot use LOB Locators selected from the remote tables.

    Is there a way to get around this? We need the data in the BLOB field.

    Thank you.

    See on metalink:

    ORA-22992 has a workaround solution in 10 gr 2
    DOC - ID: 436707.1

    Werner

  • Select from the drop-down list and populate a list in another menu drop down

    I have a drop down list with 10 items in the list. If possible, would like for a selection in the drop-down list to populate a drop-down list with another list of selections. Each of the 10 points in the first list each will have a list of different options in the second drop-down list. I don't know how to build this solution.

    Thank you

    MDawn

    Hello

    It was because of the clear rawValue script that I put in the output from the drop-down list event businessFunction.

    I fixed it:

    // clear the current selection in the department dropdown
    dept0.rawValue = null;
    dept0.execEvent("exit");
    

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

    Good luck

    Niall

  • I can not clear the list of suggestions from the opening page search box

    I type a search query into the opening of the page below search box I see a list of previous searches that start with the same letter. Over time this list obviously becomes greater.
    I don't see any way clear to clear the entries or by disabling the entries stored in this memory.

    If you want to delete the data stored in a drop-down list, and then use the following steps:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list
    3. Press the DELETE key (on a Mac: shift + delete) to remove it.
  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • used sytem repair from the installation disc difficult or too complicated?

    do you know if the repair system hard to use from reinstalling vista irunning disk?  without any reason after windows drivres dell download does not start, it is just there to take all this time and if I'm lucky it will start, I used the configuration of the system, and that did not help. I know, it seems that he is sssoooo nearly all set to start at the same time, but in the system and the process where it lists everything that I don't know what is what, so I can't stop the useless stuff to start, I thing I have too many things that either doesn't work - I don't have not even half uninstalled or put in the easy computer were and if it's the dell drivers , screwing, then why vista does not work?

    Dell has a touch screen F12 on boot options, but vista says to put in disk, press on restart and then repair, but what happens if I can't do it at the start or the dvd - rom does not start when I reboot?

    and if it doesn't it's really complicated? I ran disk cleanup and repair. I ran to check memory, I had 140 GB free out of 240 GB, I ran two restorations system back to dates before I installed the drivers from dell, everything worked fine until last night, now dell takes to always to get to the windows startup takes part and windows to start even in safe mode.

    I ran all the controls sytem dell pc and everything passes .so should I put the disc and hit restart? and should I first go to where he gives the choice to load some stuff or normally loads at startup, and which one should I use all or just selective to go until I reboot. Thanks for any help you can offer, because it runs now I don't even want to turn it off.

    Which

    Hello

    You receive an error message?

    Method 1:

    You must restart your computer using the installation disc. If you do not restart your computer from the disk, the option to repair your computer will not appear.

    If you have a Windows installation disc, you can follow the procedure:

    a. Insert the installation disc.

    b. restart your computer.

    c. click on the Start button, click the arrow next to the button lock and then click on restart.

    d. If you are prompted, press any key to start Windows from the installation disc.

    Note: If your computer is not configured to start from a CD or a DVD, see the documentation provided with your computer. You may need to change your computer's BIOS settings.

    e. Select your language settings and then click Next.

    f. click on repair your computer.

    g. Select the operating system you want to repair, and then click Next.

    h. in the System Recovery Options menu, click Startup Repair. Startup Repair can invite you to make choices as it tries to solve the problem and, if necessary, it may restart your computer, because it makes the repairs.

    WARNING OF THE BIOS:
    Change (CMOS) BIOS/complementary metal oxide semiconductor settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Method 2:
    You can see startup Repair in Windows Vista, which is a recovery tool that can fix certain problems. You can check the link:
    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

    Method 3:
    You can check the event viewer for related event logs.
    Open event viewer
    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Event-Viewer
    What are the information in event logs? (Event Viewer)
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-information-appears-in-event-logs-Event-Viewer

    You can also see the links provided to learn more:
    http://support.Microsoft.com/mats/slow_windows_performance

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-do-if-Windows-wont-start-correctly

  • How can I make Firefox use another version of the installed Java runtime?

    For purposes of development, I have several versions of the Java runtime on my 64 bit Windows 7 computer. I try to keep the number of JDK and JRE installation to a minimum and I want Firefox to use JRE 1.7.0_21 (32 bit) because this happened with a version of JDK, I am forced to use another application.

    Firefox however use JRE 1.6.0_31 and is correctly reported as non-secure. It offers me the upgrade option, but I don't want to download and install a different JRE since I already said 1.7.0_21 installed JRE. I would prefer very just to be able to point Firefox so that JRE. I don't see an option to select a different JRE installed however.

    I tried to manually edit the file pluginreg.dat (I know, it says do not edit...) by changing the entries of JRE 1.6 and 1.7 of the JRE, but on reboot, my changes have been overwritten and was back at the old JRE. So I can't view some web sites (also company/internal) without having to change to any browsers.

    Please let me know how I can make Firefox use the already installed JRE 1.7.

    Firefox scans the registry to find the location of the plugins.
    If Firefox detects a plugin and not the other, then that means that the other Java plugin is not having a corresponding registry key.

    64-bit Windows:
    HKLM\Software\Wow6432Node\MozillaPlugins\@Java.com/JavaPlugin,version=XX.XX.XX
    32-bit Windows:
    HKLM\Software\MozillaPlugins\@Java.com/JavaPlugin,version=XX.XX.XX

  • Can Portege R400 - I use another CPU on the new motherboard

    My motherboard is fried, and I ordered a new motherboard from a supplier.
    My question is; I could use another treatment.

    Well, generally upgrading the CPU isn't really easily on laptop motherboards.

    First, you will need to ensure that the new processor would be in line with the socket. Then you need to check if the motherboard chipset would support the new processor.
    Finally, there could be a problem with the BIOS of the motherboard.
    The point is that the BIOS has not been tested with the other s CPU and so nobody will be able to tell if your laptop would go without problem after these updates.

  • Why can I not use applications downloaded from the Internet

    I downloaded Open Office and I get an error message that I cannot use the applications downloaded from the Ap Store.

    How can I change this?

    Mary Lou

    CTRL-click it and choose open. Otherwise, open the security & confidentiality of system preferences, click the general tab, unlock the pane and change the setting to a less restrictive.

    (137111)

  • Want to go wireless to use another connection by the web

    I have a windows xp home 2002 128 adding ram series megabits and used to go wireless to use another connection. I have a linksys router e1ooo, a con of bus. E1000 network adapter and and on the installation disc insersion, it said to go to windows update.com and download windows xp service pack 3, how can I daod load whan I.m cannot get online. If I was online in the first place, I wouldn't need to go wireless! Well Duh! Help me if you can! Gary B.

    I have a windows xp home 2002 128 adding ram series megabits and used to go wireless to use another connection. I have a linksys router e1ooo, a con of bus. E1000 network adapter and and on the installation disc insersion, it said to go to windows update.com and download windows xp service pack 3, how can I daod load whan I.m cannot get online. If I was online in the first place, I wouldn't need to go wireless! Well Duh! Help me if you can! Gary B.

    Can get you wired online? If yes go to update.microsoft.com. It will scan your computer, download and run updates.

    If this does not work, contact

    • United States: (800) 360-7561, from Monday to Friday from 05:00 to 19:00 Pacific time.

    These additional pieces and can provide you with a Service Pack disk if it is still available.

  • Is it useful to transition from the Inspiron 531 to 530?

    I have an Inspiron 531 with an AMD Athlon 64 dual core 5600 + and I was thinking about upgrading to an Inspiron 530 with a Qual Core Q9300 CPU. If I do that, I'll install the Nvidia 8600GT and my Combo as well of the 531 player.

    Do you think that it would be useful? I love the 531, but I find it a little slow with Vista


  • Enable / disable fields by selecting from the list

    Hey guys,.

    How can I make an option like < bool > with a list instead of a checkbox.

    Example of work in text QooQees Widget magic. I already asked this developer but got no answer.

    This selection in the list turns off the text field:

    Bildschirmfoto 2014-08-21 um 16.09.59.png

    And if you choose another option that it activates the text field:

    Bildschirmfoto 2014-08-21 um 16.10.10.png

    No idea how to do this?

    Unfortunately, it seems that it is a hole in the documentation, but the tag in lists also support the disableOptions attribute, similar to the way in which the tag of under the made. You can see an example in the section for its operation.

  • Why, when I type in the address bar and select from the drop-down list, I seem to "click on" on one of the toolbar buttons?

    I noticed recently that, sometimes, when I chose an entry in the drop-down list after I started typing in the address bar, I would get a different page than I wanted to. It turned out that I was actually clicking the bookmarks toolbar button that has been hidden under the list entry, I thought I was clicking.

    Hi, thanks, but disabling hardware acceleration does not fix it. However, I just swapped my mouse, and seems not to happen anymore!

Maybe you are looking for