Author |
Message |
guilherne
New Member
Joined: Oct 21, 2009
Posts: 9
|
Posted:
Wed Nov 14, 2012 1:51 pm |
|
Hi.
I was thinking how to create a dynamic combo to use in raven nuke modules, like Your_Account, when people register to the site.
Example:
User select his state, than in the next field, he selects the city filtered by the state he has just selected.
Any idea? Is there any module with similar function?
Thanks |
|
|
|
|
spasticdonkey
RavenNuke(tm) Development Team
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Wed Nov 14, 2012 4:59 pm |
|
|
|
|
guilherne
|
Posted:
Fri Nov 16, 2012 6:42 am |
|
Sorry. What I sugest is to use in Raven Nuke a Dynamic Combobox which populate using php scripting from db and onselection change values of another dynamic Combobox. Initially 2nd combobox should be invisible and on selection of 1st combobox make 2nd combobox visible related with similar data. |
|
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1775
|
Posted:
Fri Nov 16, 2012 8:39 am |
|
|
|
|
spasticdonkey
|
Posted:
Fri Nov 16, 2012 8:56 am |
|
I know Only registered users can see links on this board! Get registered or login! had a similar functionality, but sounds like alot of work as you would have to cover every country, state, and city in the world.
There are emerging browser technologies that allow you to request the location of the browser, which I would be more inclined to use, as opposed to a massive db of every country, state, and city in the world. http://support.google.com/chrome/bin/answer.py?hl=en&answer=142065
That being said I don't have time to look into either approach for the near future. I'm not sure the functionality is valuable enough for the work involved, but unsure what you plan on using this for?? |
|
|
|
|
wHiTeHaT
Life Cycles Becoming CPU Cycles
Joined: Jul 18, 2004
Posts: 579
|
Posted:
Sun Nov 18, 2012 4:49 pm |
|
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Tue Nov 20, 2012 2:45 pm |
|
Look at the admin function in nukeFEED. Once you select the Content type for the feed, the Order and Level drop downs are populated accordingly. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
|
kguske
|
Posted:
Tue Nov 20, 2012 2:49 pm |
|
Also, the number of items in the feed can be typed or selected (i.e. a combo box).
There are a number of other jQuery scripts that provide linked select boxes. Also, check out Only registered users can see links on this board! Get registered or login! to see some other cool stuff you can do with select input... |
|
|
|
|
|