Jump to:

7937 Posts in 1537 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Ajax DropDown in DOM popup

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1165 Views
  • Aperage
    Avatar
    Community Member
    6 Posts

    Ajax DropDown in DOM popup Link to this post

    Hey,

    I've implemented the DOM module on my website and all is working well.
    But now i would like to optimize it a little by implementing some Ajax.
    I currently have a dropdown for countries, states and cities in the DOM popup
    I would like them to be linked by some ajax ( ie: When selecting a country, refresh the list of states, then the cities )

    [EDIT]At the moment im a little confuse. When i select one of my object to modify it, i have some trouble recovering the informations already saved ( object country, state and city ). I've tried $this->Country but it doesn't seems to work that way.[/EDIT] => Look like it worked ($this->Country)...Well nevermind that post

    Aperage

    P.S. First post on the forums, been using Silverstripe for about 3weeks now and gotta say i love it Keep up the good work and i look forward working with SS community from now on

    1165 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.