{"action":"closed","issue":{"url":"https://api.github.com/repos/Esri/Survey123Community/issues/182","labels_url":"https://api.github.com/repos/Esri/Survey123Community/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/Esri/Survey123Community/issues/182/comments","events_url":"https://api.github.com/repos/Esri/Survey123Community/issues/182/events","html_url":"https://github.com/Esri/Survey123Community/issues/182","id":107221135,"number":182,"title":"Field Constraint and Required Fields","user":{"login":"MKellyEsri","id":9192183,"avatar_url":"https://avatars.githubusercontent.com/u/9192183?v=3","gravatar_id":"","url":"https://api.github.com/users/MKellyEsri","html_url":"https://github.com/MKellyEsri","followers_url":"https://api.github.com/users/MKellyEsri/followers","following_url":"https://api.github.com/users/MKellyEsri/following{/other_user}","gists_url":"https://api.github.com/users/MKellyEsri/gists{/gist_id}","starred_url":"https://api.github.com/users/MKellyEsri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MKellyEsri/subscriptions","organizations_url":"https://api.github.com/users/MKellyEsri/orgs","repos_url":"https://api.github.com/users/MKellyEsri/repos","events_url":"https://api.github.com/users/MKellyEsri/events{/privacy}","received_events_url":"https://api.github.com/users/MKellyEsri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Esri/Survey123Community/labels/Status%20-%20Fixed","name":"Status - Fixed","color":"fbca04"},{"url":"https://api.github.com/repos/Esri/Survey123Community/labels/Type%20-%20Duplicate","name":"Type - Duplicate","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Esri/Survey123Community/milestones/6","html_url":"https://github.com/Esri/Survey123Community/milestones/World%20Vegetarian%20Day%20(October%201st)","labels_url":"https://api.github.com/repos/Esri/Survey123Community/milestones/6/labels","id":1189812,"number":6,"title":"World Vegetarian Day (October 1st)","description":"Better support for XLSForms: Repeats, Cascading Selects\r\nAdded support for Windows Phone 8 and 8.1\r\nSurvey123 for ArcGIS v1.1","creator":{"login":"survey123","id":10968332,"avatar_url":"https://avatars.githubusercontent.com/u/10968332?v=3","gravatar_id":"","url":"https://api.github.com/users/survey123","html_url":"https://github.com/survey123","followers_url":"https://api.github.com/users/survey123/followers","following_url":"https://api.github.com/users/survey123/following{/other_user}","gists_url":"https://api.github.com/users/survey123/gists{/gist_id}","starred_url":"https://api.github.com/users/survey123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/survey123/subscriptions","organizations_url":"https://api.github.com/users/survey123/orgs","repos_url":"https://api.github.com/users/survey123/repos","events_url":"https://api.github.com/users/survey123/events{/privacy}","received_events_url":"https://api.github.com/users/survey123/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":4,"state":"open","created_at":"2015-07-01T22:47:00Z","updated_at":"2015-09-24T22:07:03Z","due_on":"2015-10-01T07:00:00Z","closed_at":null},"comments":2,"created_at":"2015-09-18T15:11:12Z","updated_at":"2015-09-24T22:07:03Z","closed_at":"2015-09-24T22:07:03Z","body":"If a field has a constraint set, but is not required, there is no way of submitting the form. When you try to submit the form, the constraint message appears even though the field is not required - tested on Android, iOS and Survey123Connect.\r\n\r\nname: text\r\nlabel: email\r\nhint: What is your <u>email</u> address?\r\nemail: Email address will be validated.\r\nconstraint: regex(., '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}')\r\nconstraint message: \"Your email address must be in an email address format!! See specific constraint used below.\""}}