Commit 34693541 authored by Shakarim Sapa's avatar Shakarim Sapa

- Add new validation rule

parent 49e04a05
...@@ -120,7 +120,7 @@ if ($cacheEmail!==false && Bid::find()->where(['email' => $cacheEmail])->exists( ...@@ -120,7 +120,7 @@ if ($cacheEmail!==false && Bid::find()->where(['email' => $cacheEmail])->exists(
} }
else else
{ {
errors = []; var errors = [];
$.each(response, function(key, value) { $.each(response, function(key, value) {
form.find('.field-'+key).addClass('has-error'); form.find('.field-'+key).addClass('has-error');
errors = errors.concat(value); errors = errors.concat(value);
......
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