Closed (fixed)
Project:
Hierarchical Select
Version:
6.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
12 Aug 2009 at 13:31 UTC
Updated:
5 Oct 2009 at 22:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
wim leers1) It's not a square but an asterisk.
2) You can simply enable the "Required" checkbox. That should work.
I just tested it, and an error appears if I don't select anything.
Comment #2
Marko B commentedHmm are we talking about same thing? I was talking about pic i attached. It does say Some category is required but i dont get this border around field, can i get this also?
Comment #3
wim leersAh … you were talking about the border. Then this is indeed a feature request :)
Should be doable.
Comment #4
Marko B commentedOk, any idea where, what? Just some css is needed to be changed upon validation, i would like to make it at least something custom if possible for now.
Comment #5
wim leersIt is far more complex than just some CSS. From a report I'm writing on the vast array of deficiencies of the Forms API:
Despite all of that, I've been able to write a work-around. Patch attached. Let me know if it works for you too.
P.S.: this has cost me about 2 hours. Way more than expected.
Comment #6
Marko B commentedHey Wim, tried it, it seems to work, but when i upgraded to latest HS version i got this problem http://drupal.org/node/538022#comment-1943380, thanx on this.
Comment #7
wim leersCommitted.
- D6: http://drupal.org/cvs?commit=265606
- D5: http://drupal.org/cvs?commit=265608
Comment #8
Marko B commentedYou sure this one is working? I did clear cache, made update and i dont get red square as i did with patch on prev. version. Did u test it?
Comment #9
wim leersYep, I just tested it again, and it works.
Comment #10
Marko B commentedHmm, ok, will do the same on blank installation. Somehow it doesnt do anything with my project with many other modules and custom theme. thanx
Comment #11
Marko B commentedI confirm its working :-) Seems i dont understand some stuff. I tought you applied this to todays version and u didnt. So commited means u will apply it when confirmed its working or?
I can confirm its working ok on my setup and will use it :-)
Comment #12
wim leersCommitted means it is in CVS (http://cvs.drupal.org). It's possible that it's not yet in the .tar.gz file (aka tarball), which is regenerated automatically on a daily basis, *not* after every change.
Thanks for your confirmation! :)