Link list drop-down boxes in a form?

Hi guys, I seriously need help on this point and pronto. The kind souls out there, be kind and help me please? I am very very new to Adobe Dreamweaver.

See, I use Adobe Dreamweaver CS 5.5 and a class assignment requires me to create a form.

This has not been taught in class.

How to use widget spry validation select to bind 2 drop-down lists such as when I choose an option in zone 1, the second drop-down list automatically load the necessary values?

For example, I have 3 categories in box 1.

Vegetables 1)

(2) fruit

(3) roots

Then I have a lot more options in box 2.

V1

V2

F1

F2

R1

R2

How to make it so that when I select vegetables, only V1 and V2 appear and even with fruit (F1, F2) and roots (R1, R2)?

I am aware that the validation rule, select spry validation must be on the changes and submit. After that, I don't know how to continue because it does not...

Help, please! (T.T) I am honestly at the end of my mind.

I do not use Spry because Adobe abandons the framework last year.  Spry is not available in DW CC (ver 13).

What you want is called a "select conditional" that can be done very well with jQuery.

Basically, the 2nd selection list is hidden until the user makes a selection in the list 1.

A basic example of using a list of selection and hidden input fields:

http://jsfiddle.NET/NancyO/nFPuW/

Nancy O.

Tags: Dreamweaver

Similar Questions

  • Is it possible to add a list drop-down selection to a form of Muse, once exported to HTML etc?

    Hello

    I have created a form and make the features of Muse does not allow a form element to have a menu drop-down. However, I wonder if it is possible to add after you have exported the file HTML etc.? If so someone does know how to approach the issue? I realize there are other alternatives to the addition of forms such as Jotform, but they do not really state how I want that they.

    If anyone can give me a hand, it would be great!

    Hello

    check the last comment in the following thread, see if you can get something useful

    Contact form Widget Radio buttons & falling down

  • list drop-down box validation

    Hello

    I'm validating a drop using scripts so that if a user types the text rather than a number there is an error message.  I can validate so that it checks for length (using.length), but how I the difference between a number and a text. I know this is possible because he works in the service of validation of the menu object.

    Thank you

    Darren

    Hello

    You can differentiate between a number and a text of this script:

    If (isNaN (Number ('asdf'))) {}

    App.Alert ("no number");

    }

    ARO

    Paul Butenko

  • In Thunderbird/Tools/Options/Composition/spelling, language drop-down-box is not available, and the language line is empty.

    The drop-down-box languages chose is display of pale color that this option is not available. Clicking on it does nothing. In addition, no language appears in the language line. Not being able to use the drop-down-box fact by following the instructions for the installation of a dictionary that is impossible.

    I installed the dictionaries in Firefox, but they do not appear in Thunderbird.

    Here, I am very confused.

    You say "I installed the dictionary in Firefox, but they do not appear in Thunderbird. They should not... they are two different applications. Your last response still puzzles me.

    "I downloaded the dictionaries, but they do not appear in"Download more dictionaries"that takes a link you to a web page list of dictionaries available for Thunderbird." So I simply do not understand what your expect to see, maybe something you have downloaded in a browser window? I really don't understand.

    Some dictionaries come in the form of modules https://addons.mozilla.org/en-US/thunderbird/search/?q=dictionary & appver = 31.0 & platform = windows and must be installed as such.

  • Interactive PDF (drop down boxes) for iPad

    There are 'none' work around an interactive PDF on the iPad? More especially drop-down boxes! I have software that makes my life a lot easier if there is any way to do this or the other third or open on an iMac and save another way?

    For the particular shape in question, it was written (probably initially via algorithms of recognition of land) with multiple instances of a drop-down list and a text superimposed on another field.  Because the text field's before the menu drop-down order to field/tab, tap, it is processed first by the Mobile Player.  That's why your experience when you use the Mobile Player is one of a text field.

    The areas of Desktop Reader process in the order opposite of field/tab (order), so the experience the user will see is a drop-down list.

    I can change the Mobile Player in the fields of process as the office, in the reverse of field/tab (order) so that both products are compatible.  This help you in the short term, however.  To make your form work in the short term with the existing Mobile drive, you can remove the text fields that overlap (they are named as "undefined_n", where n is a number).  On a brief look, these text fields that overlap do not seem to serve a purpose (that they seem not to contain a hidden value or participate in javascript, for example); They seem to be the effect of a kind of (imperfect) automated field recognition algorithm.

    Hope this helps,

    Darrell

  • Drop-down box and a dynamic presence

    I hope this makes sense.

    I have a drop down box with multiple values inside. Based on the user's selection, subforms and the different areas will be visible or hidden. To do this, I built a switch statement on the output of the dropdown event. The statement works fine until I have start to introduce dynamic properties to one of the subforms.

    Two of a repeating subform fields should be hidden or has visible again according to the choice in the drop-down list. However, once you have added multiple instances of the subform, it only mask/displays the FIRST field in the subform. I need to hide/display-ALL fields when the subform is repeated.

    To do this in the first selection, I created a statement through all instances and all these fields to be hidden or visible value as required. However, it does not work. Not at all. Even in the first instance as before.

    I hope I'm making sense. Here is the code that I use for my statement:

    var indNum = xfa.resolveNodes("RequestDetails.RepeatingSection[*].serialNum");
    for (var i=0; i < indNum.length; i++) {
        xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).serialNum.presence = "visible";
        xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).requestedNum.presence = "hidden";
    }
    

    Then, I realized most myself. Even if EVERY bit of documentation I see says reference fields like this:

    xfa.resolveNode("OuterSubform.InnerRepeatingSubform[i]");
    

    I found that he doesn't know what to do with the media, so I have:

    .InnerRepeatingSubform["+i+"]");
    

    So my final code ended up looking like this:

    var indNum = xfa.form.form1.Page1.RequestDetails.RepeatingSection.instanceManager.count;
    for (var i=0; i < indNum; i++) {
        xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").serialNum.presence = "hidden";
        xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").requestedNum.presence = "hidden";
    }
    

    I still have a problem, however. If I already added the subforms and then select the option drop-down list, it works great! However, if I select a menu item drop-down, THEN add lines, added lines have visible fields I would like to stay hidden. Is it possible that I can call the case statement when clicking on a button? Or I have to put in another switch or if the declaration on the buttons? I think it would be easier if I could just remember the swtich on the drop statement. Unfortuantely, I don't know how to do this.

  • Drop-down boxes as those used for the dates do not work and try to work for a while. What is going on?

    Drop-down boxes have not worked for the last few revisions of
    Firefox. I tried to eliminate all add ons etc. little nothing is done. For this
    not appear as it should be a big problem to solve, since these
    objects used to work properly in the past. I love otherwise Firefox
    and do not want to use a different browser. The drop-down list below does not either, but maybe it's the lack of content.

    Yes, I disabled everything. Even changed themes of Windows 7, but not luck.

    After sending this reply, it dawned on me that actual window guard can be
    the problem. When I excluded the window Firefox actual window guard
    control the drop-down boxes worked. Wish I thought of it earlier. Thanks to all those who have made suggestions and tried to help him. I really appreciate your time and efforts.

  • When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    1. Question

    When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    Hello.

    I think this is a related issue of Windows, because it is the Manager to save the windows file that we are talking about here (right?). You should contact Microsoft for help with this one, I think. You expect to be able to delete entries simply by touching delete on your keyboard when they are concentrated (that is how it goes for the removal of the form entries specific autocomplete in Firefox), but I have not tried.

    I'm sorry I can't be more helpful.

  • How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    Hi all

    How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    There is also a checkbox on the dialog box 'Sign' to lock document after signing.

  • How to change the background color of selection of the selected item in the drop-down box of choice?

    How to change the background color of selection of the selected item in the drop-down box of choice?

    By default, the selection background color like 'blue', but if I want it to be "yellow" for example, how should I do?

    Thank you

    The id is applied by (I think) the skin of the ChoiceBox class. You don't need to define.

    You must apply the css in an external style sheet. You can apply the external style sheet to any parent of the box of your choice, or on-site (the most usual way to do it).

    Example:

    import java.util.ArrayList;
    import java.util.List;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class ChoiceBoxTest extends Application {
    
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
    
        final ChoiceBox choiceBox = new ChoiceBox<>();
    
        List tempResult = new ArrayList();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        }
        choiceBox.getItems().setAll(tempResult);
    
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    
      public static void main(String[] args) {
        launch(args);
      }
    
    }
    

    choiceBox.css:

    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
     -fx-background-color: yellow ;
    }
    #choice-box-menu-item .label {
     -fx-text-fill: black ;
    }
    

    Post edited by: James_D

  • ADD ITEMS TO THE LIST DROP-DOWN LIST TO A TEXT FIELD (USER ENTERS THE ITEM) AND ALSO RELATED TO VALUE

    Untitled.jpg

    I have WANTED to ADD of ELEMENTS from the list drop-DOWN OF THE AREA of TEXT (the ELEMENT NAME) WHERE the USER BETWEEN of THE DESCRIPTION of POINT

    AND RELATED value SHOULD ALSO BE ADDED to THE SAME ELEMENT.

    LIKEWISE REMOVE ITEMS IN THE DROP-DOWN LIST

    PLEASE GIVE SHAPE TO SAMPLE OR JAVASCRIPT FOR THE ABOVE SCENARIO...

    INDEED USEFUL FOR MY PROJECT PLEASE SEND PDF FORM

    Hi Praveen,

    You can add items to the list in a specific order, which would be to load the elements in an array, sorting and then load in the dropdown list drop-down list.  This would be in the click event of the button Add.

    Create a table to hold all the list items, table drop-down list contains objects with a property 'displayItem' and 'value '.

    dropDownItems var = [];

    Add the new

    dropDownItems.push ({displayItem: ItemName.rawValue, value: BoundValue.rawValue});

    Add existing ones

    for (var i = 0; i)< dropdownlist1.length;="">

    {

    dropDownItems.push ({displayItem: DropDownList1.getDisplayItem (i), value: DropDownList1.getSaveItem (i)})

    }

    Sort by ascending order of displayed text

    () dropDownItems.sort

    function (a, b)

    {

    If (a.displayItem< b.displayitem)="" return="">

    If (a.displayItem > b.displayItem) return 1;

    return 0;

    });

    clear all items

    DropDownList1.clearItems ();

    load the sorted items

    for (var i = 0; i)< dropdownitems.length;="">

    {

    var dropDownItem = [i] dropDownItems;

    DropDownList1.addItem (dropDownItem.displayItem, dropDownItem.value);

    }

    clear the fields of the source

    ItemName.rawValue = null;

    BoundValue.rawValue = null;

    I added a button 'Add' sorted in my sample https://workspaces.acrobat.com/?d=OwysfJa-Q3HhPtFlgRb62g

    Concerning

    Bruce

  • Drop-down boxes are unstable and lose text transparent tour since the last update

    Since the last update, menu drop-down boxes in Firefox have been unstable. Appear it briefly and then go transparent. Move the cursor on the transparent area will restore the text for a moment, but then it goes transparent again.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    Safe mode disables extensions in Firefox 4 and later versions, and disables hardware acceleration.

    Try turning off hardware acceleration.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    If disable hardware acceleration works then check if there is an update available for your graphics display driver.

  • SendTo: sendto drop-down box will be only sendto (e) player and not others

    in sendto drop-down box will only sendto drive (e) and any other

    Here's how to customize the send options in the context menu: http://www.howtogeek.com/howto/windows-vista/customize-the-windows-vista-send-to-menu/.

    Here is another option which is to download some freeware that makes the process of change the menu send to much easier:http://www.online-tech-tips.com/free-software-downloads/customize-the-right-click-context-menu-in-windows-xp-and-vista/.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • drop-down boxes gel hp probook 4730 s

    Internet drop down boxes gel my hp probook 4730 s.  I could not use the box on this site either, so I'm stuck with the Council 'display & video' unless the moderator move this question.

    Frost occurs using google chrome & ie11 times.  I am running Windows 7 and MS Office2010 with Kapersky Anti Virus 2014.  Repair of Office 2010 doesn't fix or the other.

    I run exam sheets of complex Excel with macros worksheet & formulas (the VBA Userform combo boxes work in I have run programs).

    This problem has now been fixed in MS Community by disabling hardware acceleration as follows:

    Open internet explore > tools > advanced > use software instead of GPU rendering rendering > close & restart internet explore

    Thanks for your interest.

    Concerning

    Terry

  • Problem of not seeing list drop-down connection to the wireless network when checking connections network - pc windows 7.

    Problem of not seeing list drop-down connection to the wireless network when checking connections network - pc windows 7.

    I just installed a Belkin modem-router - which went well. Can I connect WiFi gadgets etc. I can also connect to the internet via a network cable to my pc. I also installed a belkin usb wireless adapter and in Device Manager, says it is enabled and works.

    My problem is, I have no way of choice get a WiFi PC to display in the list (from the notification area) and cannot get the pc to give me options to create a wi - fi connection. The more I get to try to do that is "unexpected error"!

    If someone could help on this - I would be very grateful

    Good news - update of my ongoing saga with this Belkin modem/router.

    Got the pc to see wi - fi now. It turned out to be the Zone Alarm! As the router has a firewall, I uninstalled Zone Alarm completely. Also, I went into the properties of belkin usb and checked it was the most recent drivers, it does not so I installed them.

    So far so good

    Thanks for the help

    TREV Smith

Maybe you are looking for