FrozenNode / Laravel-Administrator

An administrative interface package for Laravel
http://administrator.frozennode.com/
MIT License
1.94k stars 503 forks source link

How to fill edit_fields automatically when I save data #1025

Open mp091689 opened 8 years ago

mp091689 commented 8 years ago

Example Have two fields 'title' and 'alias'. Need to check if 'alias' is empty then fill it automatically, with random data, or take data from 'title', or if 'alias' contains data then make it to lower case. I can't understand where I should to past my 'if' condition and function. Help please.