Im posting this, as I have spent a day and a half now trying to sort out an issue that has come up with users and dependant dropdowns.
Ver 5.1 build 2503
I have three dropdown fields.
Zone - dependant on project. Add on the fly enabled. works fine.
Zone Area - dependant on Zone. Add on the fly enabled. works fine.
Area Location - dependant on Zone Area. Add on the fly enabled. works fine.
The issue is, when I say works fine, If the user first selects Zone, the Zone Area dropdown populates nicely. all good.
If the user then picks a Zone Area, the Area Location dropdown fills nicely. all good.
If the user then picks a Area Location all works nicely.
BUT, if a user is looking these three fields, each with Add on the Fly enabled.
If a user clicks the Add New on the Zone Area or Area Location, WITHOUT picking a Zone first or picking a Zone Area, the problems begin.
THe add on the fly works, but if selected out of order, it creates a record NOT attached to Zone or the Zone Area.
So, I have been working on the idea of just not show the Add new link on the second and third picklists if the first picklist is not filled.
How can I hide the dependant dropdowns ADD NEW links if there is no selected value in the master dropdown.
Confused.
Using Edit Inline or Add Inline the list displays with the below dependant dropdown columns in the list.
Zone - Add new Area - Add new Location - Add new
dependant on Zone dependant on Area
If I click the Add new link on a field out of order, fill it out and click Save, the window closes Im returned to the list with the added record displayed
in the picklist, but the data is not saved with the link information in the database. A refresh quickly looses the picklists.
This is an issue with the inline add and inline edit as well. What I would like is the field and the Add new link field to simply be hidden until the onchange of the master dropdown is filled out properly. Or at least just the Add new link dissappear if the master dropdown is not filled.
My experience is, you cant teach a user what they are supposed to do, you are supposed to guide them through the way you want.
Any help is greatly appreciated.
Thanks in advance.