would it be possible to implement a "scrolling Select box option, in addition to dropdown selects.
Or is this something that could better be achieved with theming?

The way I envision this to look is much like th way, Views exposed filters look, for vocabularies with the multi select option enabled. E.G. A scrolling box with a set hight.

When hierarchical select is enabled, E.G, Possibly add an option scrolling boxes, or drop down select, with other additional options like, E.g, Select up to four box levels to display.

Scrolling boxes would also look more consistent with Views filtering. E.G, When using other filters with scrolling boxes such as text select, etc. It would also be nice if this could work with single selects and multi select, but either would be a great addition to views filtering, or including terms in nodes.

Any thoughts?

CommentFileSizeAuthor
#6 ebay_category_selector.jpg102.72 KBbcn

Comments

wim leers’s picture

What exactly is a "scrolling select box option"? Could you post some links to examples?

mcreature’s picture

Oh Sorry, I can see scrolling select boxes is a bit confusing, What I mean is a "regular select box",
E.G - When a regular select box gets populated with a number of select choices, beyond the select box hight, it becomes a scrolling box. E.G Allows the user to scroll down threw the list of select choices.

"This is the standard behavior for a regular multi select field"

Thanks for the reply Wim.

wim leers’s picture

Status: Active » Closed (won't fix)

That'd be *worse* from usability perspective. That's also *exactly* what I've tried to avoid and improve through this module. And it's also the form it degrades to when Javascript is disabled. Just try it: disable JS in your browser and then visit a page with a HS.

mcreature’s picture

Hi Wim
I tried what you mentioned and disabled java, it shows all levels and doesn't allow for a aditional populated box, when choosing a term.

What I am referring to is just having a choice of changing the drop down select style, to a regular scrolling box style, while still having additional boxes populated with the terms children as usual. Its just a select box display difference from dropdown to regular. and again would only be a style choice.

The main reason for this request, is that when a vocabulary only has say 4 term hierarchy levels.
it could give the user a more visual approach to seeing the terms to chose from. while still being able to drill down with out seeing all terms, and also I think it would be more consistent when in combination with other views filters, instead of dropping down and rapping for instance,

Perhaps I can come up with a better example, or screen shot.

Thanks again Wim, for the great module.

wim leers’s picture

Status: Closed (won't fix) » Postponed (maintainer needs more info)

In that case, I'm still not sure what exactly it is you mean. Please either make a drawing, a screenshot or a mockup to set things straight :)

bcn’s picture

StatusFileSize
new102.72 KB

Hi Wim,

I'm not exactly sure what the OP really meant, but I think they were referring to something like this (an ebay category selector): http://cgi5.ebay.com/ws/eBayISAPI.dll?NewListing&sid=&cpg=2&aid=6

That is, a form where the select elements have a 'size' attribute > 1 (so you can see some/all of the list values at all times).
I can see some cases where this might be useful, so I guess they would have to do a hook_form_alter to achieve something like the ebay example.

wim leers’s picture

Assigned: Unassigned » wim leers
Status: Postponed (maintainer needs more info) » Active

Ok, gotcha now. I actually didn't know you could have selects that large in which you can only select *one* item.

I'll add support for this then, probably.

mcreature’s picture

Yep, thats exactly what I was talking about, Was going to try and find a nice example, but you saved me the trouble, Thanks for the example and advice Noahb, and Thanks again for considering this Wim.

wim leers’s picture

Version: 5.x-1.x-dev » 5.x-2.0-rc1
Status: Active » Postponed

Postponed until after the 2.0 release.

wim leers’s picture

wim leers’s picture

Title: Scrolling Select box option. » Let the selects of the hierarchical select inherit the #size property
Version: 5.x-2.0-rc1 » 5.x-3.x-dev
Status: Postponed » Fixed

Implemented this. Search API.txt to find out how to use it. It's NOT exposed in the config form!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.