Should I define rules for all of input elements in a model class?
For example the model form has 2 input type element and a textarea.
Can I just define rules for those two input type and not for textarea ?
I have done so but the text entered inside the textarea isn't save but if I put a rule for example for its length it will be saved.
For example the model form has 2 input type element and a textarea.
Can I just define rules for those two input type and not for textarea ?
I have done so but the text entered inside the textarea isn't save but if I put a rule for example for its length it will be saved.