This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, By default, in the backend, all fields (inputs, textareas, ...,) show datas directly from DB. So, for one of them (an textarea), I would like to change this default behavior in order to make a process before rendering (like dropdown field and their "options") : how can I do that ?
Thanks
Hi, The solution to change the default behavior is in this link : http://octobercms.com/docs/backend/forms#extend-form-behavior With "Extending form fields", I think we can do it, but, I don't know how : so, if someone can me explain howto. Thanks
Re,
The solution (in the file in controllers directory) :
public function formExtendFields($form){
$form->model->
1-4 of 4