Auto-submit after last select

There is more than one way to do this :

  • The first idea is to change the jQuery selector
    $('.views-widget .selects select')

    to be something like

    $('.views-widget .selects #edit-model-hierarchical-select-selects-2')

    Of course you need to find out the id of the final tier's select tag. (the above code supposes you are using hierarchical select for a vocabulary called "Model" that has the three tiers as levels)
    This should normally work in most cases.

  • Another idea is to add some condition after the first line (for example : To ensure the values of the first two selects are changed from initial values, or to check if this is the desired select supposing you have a problem with jQuery selectors)
    This idea is not recommended unless the previous one was a complete failure (which is not likely to happen)

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.