Код: Выделить всё
public function rules()
{
return [
// name, email, subject and body are required
[['zip'], 'required', 'message' => 'Please type in your {attribute}.'],
[['zip'], 'string', 'length' => [5, 5]],
[['zip'], 'integer', 'min' => 55001, 'max' => 56763, 'message' => 'We do not serve this area right now.'],
];
}
В чем причина и куда копать?Zip Code must be no greater than 56763.
Спасибо за ответы заранее.