Drop-down list conditionally new drop-down list

Hello world

I am very bad at Java, I can usually get good reading but don't know enough syntax to write anything.  I read to the last hours of the couple and can not find any tutorial or the discussion for the script that I am creating.

I want to have a dropdown menu with 3 options: phone, Email, Fax

If the user selects by e-mail or fax drop-down list of other is hidden

If they user selects phone I want another set to appear with 3 options such as cell phones, home, office, so they can choose which phone

If anyone can point me in the right direction or help me with a script, it would be greatly appreciated.

I found some scripts by using the checkboxes and I tried to adapt to this, but I'm not sure if I select both boxes when you change the script or only one or the other.

Thank you!

PS I use 8.0

The text of your drop-down entries matching the text you have in the script in the stated case? Its case.

Otherwise might be easier to view the form somewhere and can take a peek

Tags: Adobe LiveCycle

Similar Questions

  • BlackBerry smartphones, which is a Golden Globe (with a ' 1' in front of it) indicator of condition - new for me

    A new status indicator appeared on my Blackberry Bold (9000)

    A Golden Globe with a '1' in front of it

    It cannot find in the user guide or the Getting Started Guide

    Does anyone know?

    Thanks, Alex

    Hi Alexs1804, is a message wap, for some reason any you or stop of the unit running in browser applications.

    To remove it, go to menu, main folder message, press menu, display folder, wap push messages, and clear it.

  • No version of Thunderbird after 12 runs under Wine/PortableApps RESOLVED: portableapps conditioned new versions

    All versions after 12 crashes at startup of PortableApps USB. Please correct.

    Evening James,.
    You were right. PortableApps answers had the fix. Event 16 Mint uses an older version of Wine. The following allows me to run the last Thunderbird.

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get install wine1.6
    
  • create the mailing list option missing from 'File', 'New' drop-down list in the 38.3.0 version

    Hi all

    I'm trying to create a mailing list using the steps described in the online documentation, but the "Mailing List" does not appear in the fly-out drop-down list. What I am doing wrong?

    In addition, what is the best way to import a mailing list I have in Eudora?

    TIA

    straysaver

    Thank you for your response. New list appears, under address book.

  • How to disable the address drop-down list when you write a new?

    I don't want my previous addresses drop-down list when I start to write a new one.

    • Firefox (Tools) > Options > privacy > address bar: when you use the location bar, suggest: nothing
  • Contacts drop-down list in new email Outlook 2007

    When I open a new email and click on the: type a letter in the name I want a drop-down list appears.  This list is added whenever I get a new email address.  I found that it is not connected to the contacts folder. How can I remove the names from this list.
    How to activate the small book icon left of the Word address to: and CC:

    I have windows XP with Office 2003, which had presented the program of upgrading compatibility added.  This problem has been most always good there.
    Help, please

    Hello

    To remove these name, you highlight (Type the first character and press the arrow down) the name falling down and press Delete on the keyboard, it will remove the name of the cache.

    If you want to remove / clear the entire list, you need to delete *.nk2 file in your C:\Documents and Settings\change

    I hope this helps.

  • New bug in drop-down list in 0.9.2?

    Hi guys,.

    could someone confirm this new bug:

    I create a menu drop-down again:

    iceCoDD1 = new DropDown();
    iceCoDD1.rowHeight = 40;
    iceCoDD1.rowCount = 8;
    ...
    iceCoDD1.dataProvider = new DataProvider(CoTypes);
    addChild(iceCoDD1);
    

    But I don't want this drop-down list to be editable at any time, so I used the following commands in 0.9.1 to toggle the menu drop-down:

    iceCoDD1.enabled = true;
    
    iceCoDD1.enabled = false;
    

    Disabling still works, but re-locking does not work. It has no effect. The element remains Gray and unclickable.

    Is this a bug or expected behaviour?

    The second thing 'strange', that I noticed about qnx, drop-down menus, which was already present in 0.9.1 is positioning (z-index). The open menu is displayed behind all elements that were added after the drop-down list (addChild). I currently use this ugly workaround (at the end of my GUI function):

    ...
    setChildIndex(iceCoDD2, numChildren-1);
    setChildIndex(iceCoDD1, numChildren-1);
    

    biggerCC,

    RE: the problem with the menu drop-down appears behind all other components defined after him:

    Why did you write this code snippet (below)?  could not just do addChild (iceCoDD1) as the last statement in your function so that the drop down menu is before all other elements?

    just to be clear, I don't oppose not what you did - I have the same problem with the fall down, and I'm just trying to understand why you coded this...

    setChildIndex(iceCoDD2, numChildren-1);setChildIndex(iceCoDD1, numChildren-1);
    
  • drop-down list new folder option is no longer on the desktop

    Hello dare how Yall are

    I got a few Yes troubel

    drop-down list new folder option is no longer on the desktop

    I don't know what to do dat

    Thank you Sha

    You have installed chrome? It is an update of Chrome, (mid), is responsible. Here are two patches.

    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8
    http://www.SevenForums.com/tutorials/28677-new-context-menu-remove-restore-default-menu-items.html

    If still no joy, see the 'response' by Linda Yan in this thread.
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf/#99395761-56de-4a76-8C2A-eab498ad735a

    Tip: When you save the text in Notepad, the default file format is .txt. Replace all files.

  • RH7: Project showing only Times New Roman in drop-down list of fonts

    Hello

    I have problems with a project which has been very well a few weeks ago. For now, the only option in the drop-down list selection of fonts is "Times New Roman"... a nice font, but we write our documentation in Arial, so it takes a little that for the moment we can't select any font for our documents, only TNR.

    I'm not very experienced with HR, but I checked the style sheet (seems to be linked properly and the content is the same as style sheets to projects that have no problems), the models seem ok too... I'm puzzled.

    Other things happening (apparently at random):

    -new themes are created without associated style sheet

    -new topics have TNR 12 as default font size (our models wear 9 Arial)

    -old open subjects without a style sheet; Add in the HTML code required for the style sheet doesn't seem to help.

    All this happened on my colleague PC, I can't replicate them on mine. Whatever it is, on our two PC the only display of fonts is TNR.

    This can be important: projects have been added recently to Robo SourceControl. Can it be linked to that?

    I'd appreciate any help, especially since we have a big release coming next week and all documentation must be in top form by then

    I have reproduced this problem by deleting the file rhfontset.apj in a test project (and the removal of the DPC). Theoretically, you should just be able to copy the file from one of the samples project.

  • I don't like the new drop-down list of suggestions, how can I disable it?

    for some reason now in google search bar, there are suggestions of sites in a drop-down list when I type in the search bar. I don't like, it just started and I would like to know how to disable

    Thank you

    Heidi

    Disable search suggestions by right clicking the text field in the search bar and remove the mark in front of "Show Suggestions".

    Click the search engine button and open "manage search engines".

    At the bottom of this window, there is a box of [X] "see search suggestions."

  • Addition of new entries in the metadata cart categories list drop down... possible?

    Generation using CS6, V5, 708.

    I would like to create/add a few more entries in the/category/cart metadata drop-down list of categories (the list with 'beds. (His Bits, commercials", etc.).

    Is this possible? This list mask a place that I can access and manipulate?

    Thanks for the knowledge.

    Caution. You can if you are brave enough to risk to change one of the parameters of the hearing files.

    The list is stored in C:\Users\"username"\AppData\Roaming\Adobe\Audition\5.0\AEScartMetadataSchema.xml. Everything do you back to the top of the file AEScartMetadataSchema.xml first renaming before trying to change the file so that you can replace it if things get screwed. You will need an XML file editing software of some sort that you will have to find out for yourself on the net.

  • Script of condition in the drop-down list

    If the drop down menu 'A' is not, and the 'B' drop is

    also no. 'C' becomes visible.

    I need help with a script for this all I can get to is:

    If

    (xfa.event.newText == 'Yes') { }

    Yes.presence

    = "visible."

    }

    else {

    Yes.presence

    = 'invisible '.

    }

    and it does not work for this instance.

    First of all, put values on the items in drop-down list in the 'Binding' palette 'subject: ' tab

    As:

    Yes bound value = 1

    No has a bound value = 0.

    Then,

    Update on the event 'exit' on the two drop-down lists, then choose 'JavaScript' for script language:

    //////////////////////////////

    If (this.rawValue == "1" & B.rawValue == '1')

    {

    C.Presence = "visible";

    }

    on the other

    {

    C.Presence = "invisible";

    }

    //////////////////////////////

    change the first line of refenence A.rawValue when you add this script in the drop-down list box B.

    That should do it.

    Good luck

    Stephen

  • New to LiveCycle.  Need help with drop-down lists.

    I just started playing with LiveCycle with PDF Forms.  One thing that I wonder if it is possible to do the link of the selections available in the drop-down lists.  For example, on a form with one question on this subject, I have 5 possible answers as the "ranking of your favorite in the order of most loved at least liked fruits".  Then I have a series of 5 drop down list with the first box containing boxes "Apple, pear, fishing, strawberry, grapes.  Is it possible to have someone to make a selection in the first box, their fruit in the list, and then the second box would have four options to choose?  Say if apple was their favorite, only, pear, fishing, strawberry and grape would be selection?  I tried to find an answer, but I'm afraid I don't know enough about the capabilities of LiveCycle, and/or how to work with scripts (I think that's what I see people using).  If someone could take the time to try to push myself through this, I would appreciate it, of course.

    Here's a form to date. I had to get help from a programmer friend, so it is a code evolved. I used a script object to reduce the volume of code.

    Take a look and let me know what you think.

    Paul

  • Download the news of a drop-down list for a field of text box

    Its that simple! That's all I need to know! The code to add to the information in a drop-down list (_cb) to a text field. I need to know wear put on the script IE in the action on the _cb layer. Your all!

    on the timeline that contains your combobox with instance name _cb that you can use:

  • Remove the new drop-down list menu search entirely (again!)?

    Since the upgrade to 43.0.1, there is a small window to appear whenever I type in the search bar, just like how it was there are several versions (see https://support.mozilla.org/en-US/questions/1035637 for the previous issue). I have suggestions search disabled, and I have browser.search.showOneOffButtons set to False in topic: config. How to make this new drop-down window disappear?

    "browser.search.showOneOffButtons" was a temporary pref from Firefox 34. The underlying code that have supported this preference is gone like Firefox 43.

    https://addons.Mozilla.org/en-us/Firefox/addon/classicthemerestorer/ has an option for old search (experimental) in Options of CTR > UI (1)

Maybe you are looking for