yii-validation Questions
2
Solved
I know that you can have a validation rule that applies only for one scenario:
array('username', 'exist', 'on' => 'update'),
Now i would like to know if it's possible to do the opposite: a ru...
Longhand asked 7/11, 2012 at 21:25
8
Solved
I have a table like this:
(id, name, version, text).
(name, version) is unique key, how can i make a rule to validate this.
Coplanar asked 12/3, 2012 at 16:30
1
Solved
I was wandering is there any chance to use scenario for rules,
in my model I have
public function rules()
{
return array(
array('delivery, firstNameBilling, lastNameBilling, addressBilling, c...
Volding asked 2/7, 2013 at 7:44
1
© 2022 - 2024 — McMap. All rights reserved.