Revision #130 was created by rackycz on Oct 4, 2019, 12:03:10 PM.
contact
Content
[...]
public function actionContact() {
$model = new Contact();
if ($model->load(Yii::$app->request->post()) && $model->save()) {
// ...
```
- Open the new contact model and add one attribute, and 2 rules:
```php
public $verifyCode;
// ...
['verifyCode', 'captcha'],