{"action":"closed","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/6886","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/6886/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/6886/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/6886/events","html_url":"https://github.com/yiisoft/yii2/issues/6886","id":54556715,"number":6886,"title":"Ajax validation not working on an ActiveForm placed in a <table> tag","user":{"login":"pjacquemin","id":8099968,"avatar_url":"https://avatars.githubusercontent.com/u/8099968?v=3","gravatar_id":"","url":"https://api.github.com/users/pjacquemin","html_url":"https://github.com/pjacquemin","followers_url":"https://api.github.com/users/pjacquemin/followers","following_url":"https://api.github.com/users/pjacquemin/following{/other_user}","gists_url":"https://api.github.com/users/pjacquemin/gists{/gist_id}","starred_url":"https://api.github.com/users/pjacquemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjacquemin/subscriptions","organizations_url":"https://api.github.com/users/pjacquemin/orgs","repos_url":"https://api.github.com/users/pjacquemin/repos","events_url":"https://api.github.com/users/pjacquemin/events{/privacy}","received_events_url":"https://api.github.com/users/pjacquemin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status%3Aunder+discussion","name":"status:under discussion","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/9","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/9/labels","id":831720,"number":9,"title":"2.0.x","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":240,"closed_issues":2,"state":"open","created_at":"2014-10-19T13:49:45Z","updated_at":"2015-01-21T13:08:13Z","due_on":null,"closed_at":null},"comments":19,"created_at":"2015-01-16T09:44:15Z","updated_at":"2015-01-21T13:08:13Z","closed_at":"2015-01-21T13:08:13Z","body":"Hi,\r\n\r\nIt seems that there is a problem with ajax validation on an ActiveForm placed between \"table\" tags. \r\nFor example : \r\n<code>\r\ntable class=\"table\"\r\n\r\n - Modal begins here\r\n\r\n- activeform with ajaxvalidation true starts here\r\n\r\n- a \"name\" field is set here\r\n\r\n- activeform ends here\r\n\r\n- modal ends here\r\n\r\n/table\r\n\r\n</code>\r\nIt seems that no request is sent to controller when leaving the name field blank which is declared a required in form model. The ajax validation should display a message that name cannot be blank but nothing appens.\r\nAfter removing the \"table\" tag, it works perfectly. But is it normal ?\r\nWhen I have a look into the Firefox inspector, the \"table\" tag is removed.\r\n\r\nThanks you."}}