|
|
@@ -23,7 +23,7 @@ class ContactForm extends Model
|
|
|
{
|
|
|
return [
|
|
|
// name, email, subject and body are required
|
|
|
- ['name, email, subject, body', 'required'],
|
|
|
+ [['name', 'email', 'subject', 'body'], 'required'],
|
|
|
// email has to be a valid email address
|
|
|
['email', 'email'],
|
|
|
// verifyCode needs to be entered correctly
|