Which method is called right before a field is saved?
Which method is called right before a field is saved? Correct Answer onBeforeSave()
BaseFieldType provides three events that you can latch code onto:onBeforeSave(), onAfterSave() and onAfterElementSave(). The method onBeforeSave() is called right before a field is saved.