Hi

I use hierarchical select lists with ed_classifieds ads. I really need to force people to choose a specific category of ad, but when the content is being added, fields come out with one of the terms as a default value. If user doesn't touch this field - this value will be accepted and saved.
Is there any easy way to have those list set up with value or text, kind of "Please choose..."

I've done that already for simple taxonomy lists following this discussion: http://drupal.org/node/180109

But I have a big problem with list supplied with hierarchical_select module.
Is there any way? Can somebody put me on the right way please?

Thanks a lot
canson

Comments

wim leers’s picture

Assigned: Unassigned » wim leers
Category: bug » support

I'm assuming you have the level choice setting set to "Force the user to choose a term from the deepest level".
If it is set to optional, you already have the ability to do exactly what you're describing, the "" option will be selected by default. However, when it's set to required, then it's not.

On the other hand, if you have the level choice setting set to "Allow the user to choose a term from any level", you get the ability to use level labels (then it doesn't matter if the field is required or not), in which you can enter labels for the levels (as the name says), such as "Please choose ...".

I'm talking about version 2 beta 1 by the way. Development and support for versions 1.x is discontinued as of that release.

canson’s picture

Thanks for your reply.

Problem is that I use 1.4 version. I will try to install this beta version then.

Anyway thanks again.
canson

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)
wim leers’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Assuming no problems occurred in version 2. Feel free to reopen if necessary.