{"action":"created","issue":{"url":"https://api.github.com/repos/hsnaydd/validetta/issues/55","repository_url":"https://api.github.com/repos/hsnaydd/validetta","labels_url":"https://api.github.com/repos/hsnaydd/validetta/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/hsnaydd/validetta/issues/55/comments","events_url":"https://api.github.com/repos/hsnaydd/validetta/issues/55/events","html_url":"https://github.com/hsnaydd/validetta/issues/55","id":183505277,"number":55,"title":"Setting to only apply validation to visible fields","user":{"login":"zeckdude","id":947856,"avatar_url":"https://avatars.githubusercontent.com/u/947856?v=3","gravatar_id":"","url":"https://api.github.com/users/zeckdude","html_url":"https://github.com/zeckdude","followers_url":"https://api.github.com/users/zeckdude/followers","following_url":"https://api.github.com/users/zeckdude/following{/other_user}","gists_url":"https://api.github.com/users/zeckdude/gists{/gist_id}","starred_url":"https://api.github.com/users/zeckdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeckdude/subscriptions","organizations_url":"https://api.github.com/users/zeckdude/orgs","repos_url":"https://api.github.com/users/zeckdude/repos","events_url":"https://api.github.com/users/zeckdude/events{/privacy}","received_events_url":"https://api.github.com/users/zeckdude/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hsnaydd/validetta/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-17T19:29:15Z","updated_at":"2016-10-17T21:42:21Z","closed_at":null,"body":"I have some form fields which are conditionally shown on the page. They only need to be validated against if they are not hidden. Currently validetta will run the validation on them and stop the form from submitting, even if they are hidden.\r\n\r\nIs there a setting to only have validation apply to visible fields?"},"comment":{"url":"https://api.github.com/repos/hsnaydd/validetta/issues/comments/254343143","html_url":"https://github.com/hsnaydd/validetta/issues/55#issuecomment-254343143","issue_url":"https://api.github.com/repos/hsnaydd/validetta/issues/55","id":254343143,"user":{"login":"zeckdude","id":947856,"avatar_url":"https://avatars.githubusercontent.com/u/947856?v=3","gravatar_id":"","url":"https://api.github.com/users/zeckdude","html_url":"https://github.com/zeckdude","followers_url":"https://api.github.com/users/zeckdude/followers","following_url":"https://api.github.com/users/zeckdude/following{/other_user}","gists_url":"https://api.github.com/users/zeckdude/gists{/gist_id}","starred_url":"https://api.github.com/users/zeckdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeckdude/subscriptions","organizations_url":"https://api.github.com/users/zeckdude/orgs","repos_url":"https://api.github.com/users/zeckdude/repos","events_url":"https://api.github.com/users/zeckdude/events{/privacy}","received_events_url":"https://api.github.com/users/zeckdude/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T21:42:21Z","updated_at":"2016-10-17T21:42:21Z","body":"@hsnaydd Yeah, I see what you mean, but it seems like a hassle to have to set the form fields inside an element to disabled every time you show or hide the container element."}}
{"actor":{"display_login":"zeckdude"}}