Are you required to have a rule of each attribute for data to be collected? If I don’t have a rule on a attribute it will not collect data. I’m wondering if this is normal?
Are you required to have a rule of each attribute for data to be collected? If I don’t have a rule on a attribute it will not collect data. I’m wondering if this is normal?
You can use the ‘safe’ validator for attributes with no other rule.
Read more here (Safe Attributes in 1.1)
http://www.yiiframework.com/doc/guide/form.model
/Tommy
Ok ty mostly related question. Why are input fields with default values returning can not be blank errors.
— Edit never mind code error on my side