Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » If field has changed

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 727 Views
  • UncleCheese
    4085 Posts

    If field has changed Link to this post

    Any way to check on write() if a specific formfield has been changed? I'd rather not loop through this block of logic every time if I don't have to.

    I suppose one way is to check $this->Field before parent::write() and then check it after parent::write() ??

    But that's a long shot...

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.