{"action":"created","issue":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6436","labels_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6436/labels{/name}","comments_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6436/comments","events_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6436/events","html_url":"https://github.com/wet-boew/wet-boew/issues/6436","id":54062448,"number":6436,"title":"Validating whether two <input> field values match?","user":{"login":"josephbr","id":4430444,"avatar_url":"https://avatars.githubusercontent.com/u/4430444?v=3","gravatar_id":"","url":"https://api.github.com/users/josephbr","html_url":"https://github.com/josephbr","followers_url":"https://api.github.com/users/josephbr/followers","following_url":"https://api.github.com/users/josephbr/following{/other_user}","gists_url":"https://api.github.com/users/josephbr/gists{/gist_id}","starred_url":"https://api.github.com/users/josephbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephbr/subscriptions","organizations_url":"https://api.github.com/users/josephbr/orgs","repos_url":"https://api.github.com/users/josephbr/repos","events_url":"https://api.github.com/users/josephbr/events{/privacy}","received_events_url":"https://api.github.com/users/josephbr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wet-boew/wet-boew/labels/Plugin%3A+Form+Validation+%28jQuery+Validation%29","name":"Plugin: Form Validation (jQuery Validation)","color":"006b75"},{"url":"https://api.github.com/repos/wet-boew/wet-boew/labels/Support+Request","name":"Support Request","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-01-12T14:57:22Z","updated_at":"2015-01-14T16:06:45Z","closed_at":null,"body":"I was looking through the \"Form Validation\" working example but I could not find any way to check whether two <input> field values match. For example, say I have an \"E-mail\" input box and then another for \"Please re-type your e-maill address\" and I want to ensure both contain the same content. How would I use WET Form Validation to accomplish this or is it not possible? I would rather avoid having to include separate validation functionality."},"comment":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/comments/69939772","html_url":"https://github.com/wet-boew/wet-boew/issues/6436#issuecomment-69939772","issue_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6436","id":69939772,"user":{"login":"LaurentGoderre","id":1090826,"avatar_url":"https://avatars.githubusercontent.com/u/1090826?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGoderre","html_url":"https://github.com/LaurentGoderre","followers_url":"https://api.github.com/users/LaurentGoderre/followers","following_url":"https://api.github.com/users/LaurentGoderre/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGoderre/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGoderre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGoderre/subscriptions","organizations_url":"https://api.github.com/users/LaurentGoderre/orgs","repos_url":"https://api.github.com/users/LaurentGoderre/repos","events_url":"https://api.github.com/users/LaurentGoderre/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGoderre/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T16:06:45Z","updated_at":"2015-01-14T16:06:45Z","body":"I haven't tested it but I think it's as simple as\r\n\r\n```html\r\n<input type=\"text\" id=\"field1\" name=\"field1\" />\r\n<input type=\"text\" id=\"field2\" name=\"field2\" data-rule-equalTo=\"#field1\" />\r\n```"}}