Commit 7f29b80e authored by Shakarim Sapa's avatar Shakarim Sapa

- Add new validation rule

parent 34693541
......@@ -46,7 +46,6 @@ if ($cacheEmail!==false && Bid::find()->where(['email' => $cacheEmail])->exists(
])->textInput([
'placeholder' => 'E-mail*'
]); ?>
<?php var_dump($errors); ?>
<?php echo Html::submitButton(\Yii::t('form', 'Subscribe'), ['class' => 'save-button']); ?>
......@@ -126,6 +125,8 @@ if ($cacheEmail!==false && Bid::find()->where(['email' => $cacheEmail])->exists(
errors = errors.concat(value);
});
console.log(errors);
dataLayer.push({
'event': 'UA_event',
'Catagory': 'Ошибки',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment