This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

mzboril
mzboril

Hello, I have a problem with controller in project. I wanna get data from the form and send it to my model. I've already done the overriding methods create_onSave() and update_onSave(), but I don't know how to get values from the fields. I've tried to get this values with post() but that didn't work.I will be grateful for every help.

JeffGoldblum
JeffGoldblum

$this->formGetWidget()->getSaveData()

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.