{"action":"created","issue":{"url":"https://api.github.com/repos/chrismiles/EZForm/issues/71","labels_url":"https://api.github.com/repos/chrismiles/EZForm/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/chrismiles/EZForm/issues/71/comments","events_url":"https://api.github.com/repos/chrismiles/EZForm/issues/71/events","html_url":"https://github.com/chrismiles/EZForm/issues/71","id":54194883,"number":71,"title":"How to dinamically remove a Validator from a field","user":{"login":"pcecchetti","id":437895,"avatar_url":"https://avatars.githubusercontent.com/u/437895?v=3","gravatar_id":"","url":"https://api.github.com/users/pcecchetti","html_url":"https://github.com/pcecchetti","followers_url":"https://api.github.com/users/pcecchetti/followers","following_url":"https://api.github.com/users/pcecchetti/following{/other_user}","gists_url":"https://api.github.com/users/pcecchetti/gists{/gist_id}","starred_url":"https://api.github.com/users/pcecchetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcecchetti/subscriptions","organizations_url":"https://api.github.com/users/pcecchetti/orgs","repos_url":"https://api.github.com/users/pcecchetti/repos","events_url":"https://api.github.com/users/pcecchetti/events{/privacy}","received_events_url":"https://api.github.com/users/pcecchetti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T13:44:29Z","updated_at":"2015-01-30T04:20:19Z","closed_at":null,"body":"Hello\r\nI need to handle my form dinamically.\r\nI mean to enable and disable validation on certain fields due to other constraints\r\nMore in detail I have an email field (set by default with addValidator:EZFormEmailAddressValidator) I need to disable in a specific condition (so that EZform doesn't check if it contains an email address)\r\nIs there a way to do it?\r\n\r\nThanks\r\n\r\nPaolo"},"comment":{"url":"https://api.github.com/repos/chrismiles/EZForm/issues/comments/72152156","html_url":"https://github.com/chrismiles/EZForm/issues/71#issuecomment-72152156","issue_url":"https://api.github.com/repos/chrismiles/EZForm/issues/71","id":72152156,"user":{"login":"chrismiles","id":110112,"avatar_url":"https://avatars.githubusercontent.com/u/110112?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismiles","html_url":"https://github.com/chrismiles","followers_url":"https://api.github.com/users/chrismiles/followers","following_url":"https://api.github.com/users/chrismiles/following{/other_user}","gists_url":"https://api.github.com/users/chrismiles/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismiles/subscriptions","organizations_url":"https://api.github.com/users/chrismiles/orgs","repos_url":"https://api.github.com/users/chrismiles/repos","events_url":"https://api.github.com/users/chrismiles/events{/privacy}","received_events_url":"https://api.github.com/users/chrismiles/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T04:20:19Z","updated_at":"2015-01-30T04:20:19Z","body":"A recent change adds `-[EZFormField setValidator:]` so you can replace validators on a field. Passing nil will clear validators, so you could use this to clear and re-set validators as you need them.\r\n"}}