Page 4 of 4
Re: Conditional Dropdown Boxes
Posted: Mon Aug 20, 2012 5:43 pm
by dr_patso
I think what i'm trying to accomplish here is #2 on the suggestions page. I was getting somewhere with the hiding then for some reason internet explorer chooses to render it completely out of whack.... it might be better to use jquery for something like this since each browser handles javascript extremely different and I can't bother to make if then statements for browsers...
The other thing is this makes it entirely too difficult to implement new custom fields, best to just wait and see what hesk 2.5 has to offer hopefully next year, as this project would probably take me a year of my free time knowing what i know.
Re: Auto Complete Dropdown Boxes
Posted: Fri Dec 21, 2012 7:18 am
by deserteagle369
I use auto complete dropdown boxes instead of conditional drowdown boxes.
Because there is no parent category field for ticket but article category has, if you have same category for ticket you can refer to that, those categories with parent id = "1" are top categories.
For complete instruction, follow below post:
viewtopic.php?f=14&t=4494&p=19594#p19594
Re: Conditional Dropdown Boxes
Posted: Wed Jan 09, 2013 5:22 am
by steve
Any idea how to modify the above code to allow for a comma delimiter and continue using the jqurey.
Re: Conditional Dropdown Boxes
Posted: Tue Mar 19, 2013 7:21 pm
by Lisaweb
Hi guys!
I have a new client who really needs this functionality... but there are so many twists and turns in this thread, that I am at a loss. Did anyone truly have success with this? If so, what did you end up doing? I will gladly send a Paypal tip to whoever is willing to post the code that worked for you.
Thanks much for any help you can provide!
-Lisa
Re: Conditional Dropdown Boxes
Posted: Thu Mar 21, 2013 1:46 pm
by plc
Hi Lisa.
Yes this post certain does contain some misleading/contradicting info to say the least. So much so that I had successfully done this as a monkey-see-monkey-do programer and now I can't even repeat it after upgrading revisions
All I can do is plead/suggest to those capable to revise the code so that this 'feature' be more integrated in the core of the code. Clearly it's a need amongst ppl using this.
How about it guys? Please...Pretty please?
Re: Conditional Dropdown Boxes
Posted: Thu Mar 21, 2013 2:02 pm
by plc
...might I also add that one of the confusing points here is whether we're discussing the front end or back end. For all intents and purposes, I've been solely referring to the front-end/user side which is a different file with regards to editing the config.
Looks to me like although deserteagle369 successfully added the feature in question, he/she is referring to the back-end.
Re: Conditional Dropdown Boxes
Posted: Thu Mar 21, 2013 2:35 pm
by Lisaweb
Thanks for your reply. I actaully need it for the backend - but I don't know enough about PHP to understand how to impliment deserteagle369's instructions. So I just now PM'd deserteagle369 for help. I will post whatever I learn from them in this thread.
Thanks again!
Re: Conditional Dropdown Boxes
Posted: Thu Mar 21, 2013 2:51 pm
by plc
Lisaweb wrote:Thanks for your reply. I actaully need it for the backend -
In that case perhaps you could start a separate thread entitled "conditional dropdown boxes in back-end" and maybe I'll start "conditional dropdown boxes in front-end"? I'd also suggest referencing this thread in the original post on the new thread as to not lose any info already gained.
...I know we're likely to revisit all this after upgrades and it'll likely be a while in between.
Phil
Re: Conditional Dropdown Boxes
Posted: Mon Apr 08, 2013 1:18 pm
by deserteagle369
Hi, guys
Where to store the sub category value? For example:
Parent category
Phone
Sub
iPhone
Android
Blackberry
Parent category
Os
Sub
Windows
Mac
Linux
If put in custom field that good for maintenance the value but you need a empty value for each, otherwise you will get something like this
Custom1 phone
Custom2 android
Custom3 windows