![]() |
Community Auth auto-populate functions - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Community Auth auto-populate functions (/showthread.php?tid=60547) |
Community Auth auto-populate functions - El Forum - 04-19-2014 [eluser]Unknown[/eluser] Im trying to use the auto-populate functions and use it in my own project. As is, it does almost exactly what i need it do to. The problem is im having trouble adding more dropdown lists. Is there anything specifically that needs to be modified for n dropdown lists? For example auto-pop uses the lists: type, make and model; lets say i want to add "color". The current issue is that i am able to select the model and store the value, but on selection it returns to the default state and unable to select the 4th dropdown list. Any help on this is appreciated, ive spent many hours playing with it and trying to figure it out. Community Auth auto-populate functions - El Forum - 04-20-2014 [eluser]skunkbad[/eluser] [quote author="mpincus" date="1397959176"]Im trying to use the auto-populate functions and use it in my own project. As is, it does almost exactly what i need it do to. The problem is im having trouble adding more dropdown lists. Is there anything specifically that needs to be modified for n dropdown lists? For example auto-pop uses the lists: type, make and model; lets say i want to add "color". The current issue is that i am able to select the model and store the value, but on selection it returns to the default state and unable to select the 4th dropdown list. Any help on this is appreciated, ive spent many hours playing with it and trying to figure it out.[/quote] I'll admit, there was a little bug in there, so adding a fourth field "color" would have been harder than it needed to be. I added the "color" field, and you can see what I did to add it here: https://bitbucket.org/skunkbad/community-auth/commits/0827e5a76af79a8eece37a3761161e2d4b658f9b Community Auth auto-populate functions - El Forum - 04-20-2014 [eluser]Unknown[/eluser] Thanks for the help and fantastic project skunkbad. You dont even want to know how long i spent trying to get this to work right :red: |