{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8063","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8063/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8063/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8063/events","html_url":"https://github.com/yiisoft/yii2/issues/8063","id":68041563,"number":8063,"title":"ActiveForm does not work on this situation","user":{"login":"shnwqshnwq","id":9942242,"avatar_url":"https://avatars.githubusercontent.com/u/9942242?v=3","gravatar_id":"","url":"https://api.github.com/users/shnwqshnwq","html_url":"https://github.com/shnwqshnwq","followers_url":"https://api.github.com/users/shnwqshnwq/followers","following_url":"https://api.github.com/users/shnwqshnwq/following{/other_user}","gists_url":"https://api.github.com/users/shnwqshnwq/gists{/gist_id}","starred_url":"https://api.github.com/users/shnwqshnwq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shnwqshnwq/subscriptions","organizations_url":"https://api.github.com/users/shnwqshnwq/orgs","repos_url":"https://api.github.com/users/shnwqshnwq/repos","events_url":"https://api.github.com/users/shnwqshnwq/events{/privacy}","received_events_url":"https://api.github.com/users/shnwqshnwq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:need%20more%20info","name":"status:need more info","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-13T08:30:45Z","updated_at":"2015-04-15T03:25:34Z","closed_at":null,"body":"```php\r\n<?php\r\n$form=ActiveForm::begin([\r\n\t'id' => 'paypass-form',\r\n\t'action'=>'',\r\n\t'enableClientValidation'=>true,\r\n\t'enableAjaxValidation'=>true,\r\n\t'validateOnSubmit'=>true,\r\n]);\r\n?>\r\n\r\n    <?=$form->beginField($user, 'old_paypass');?>\r\n    <tr>\r\n      <td class=\"left\">old pass：</td>\r\n      <td class=\"center\"><?=Html::activePasswordInput($user, 'old_paypass', ['class'=>'text160'])?></td>\r\n      <td class=\"right\"><?=Html::error($user, 'old_paypass')?><a href=\"<?=Url::toRoute('retrievePaypass')?>\" class=\"lan\">forgotten ? </a></td>\r\n    </tr>\r\n    <?=$form->endField()?>\r\n\r\n<?php ActiveForm::end()?>\r\n```\r\n\r\nam i missing something? it's not working while ajax return the right data:\r\n{\"userpaypass-old_paypass\":[\"old paypass cannot be blank.\"]}"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/93173966","html_url":"https://github.com/yiisoft/yii2/issues/8063#issuecomment-93173966","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/8063","id":93173966,"user":{"login":"mdmunir","id":5828252,"avatar_url":"https://avatars.githubusercontent.com/u/5828252?v=3","gravatar_id":"","url":"https://api.github.com/users/mdmunir","html_url":"https://github.com/mdmunir","followers_url":"https://api.github.com/users/mdmunir/followers","following_url":"https://api.github.com/users/mdmunir/following{/other_user}","gists_url":"https://api.github.com/users/mdmunir/gists{/gist_id}","starred_url":"https://api.github.com/users/mdmunir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdmunir/subscriptions","organizations_url":"https://api.github.com/users/mdmunir/orgs","repos_url":"https://api.github.com/users/mdmunir/repos","events_url":"https://api.github.com/users/mdmunir/events{/privacy}","received_events_url":"https://api.github.com/users/mdmunir/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T03:25:34Z","updated_at":"2015-04-15T03:25:34Z","body":"try this\r\n```php\r\n<table>\r\n\r\n<?= $form->beginField($model, 'password',['options'=>['tag'=>'tr']]); ?>\r\n    <td class=\"left\">Password：</td>\r\n    <td class=\"center\"><?= Html::activePasswordInput($model, 'password', ['class' => 'text160']) ?></td>\r\n    <td class=\"right\"><?= Html::error($model, 'password',['class'=>'help-block']) ?></td>\r\n<?= $form->endField() ?>\r\n\r\n</table>\r\n```"}}