I’m experiencing a couple of problems when using multiple select lists in a webform...

1) The select list loses any of my groups, ie i’m listing a bunch of counties in the UK and use groups to delineate regions of the country. These are missing.
2) I have a webform with 3 select lists , one after another. Only 2 of the 3 lists expands properly. The middle one just won’t open

Any clues?

CommentFileSizeAuthor
#3 jquery_dropdown.js_.txt3.91 KBenzipher

Comments

roderik’s picture

I have a webform with 3 select lists , one after another. Only 2 of the 3 lists expands properly. The middle one just won’t open

I had the same thing. Then after I made sure to add "id" and "name" attributes to all my select tags, the problem disappeared.

hixster’s picture

thanks Roderik, i'll try your solution, cheers.

enzipher’s picture

StatusFileSize
new3.91 KB

Hi there,

I had some issues as well with the dropdown not showing up when using multiple selects on a webform. The id and name attributes were correctly set. What I did to fix it was to removed the "select_name_nice" variable and replaced it with "select_id" to have a unique value. Actually the "select_name_nice" should deliver a unique value so the problem is the regex, but I don't see any purpose of having the this variable at all.

Complete js attached.

Cheers,

enzipher’s picture

Status: Active » Needs review

Changing status.