{"action":"created","issue":{"url":"https://api.github.com/repos/formvalidation/support/issues/54","labels_url":"https://api.github.com/repos/formvalidation/support/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/formvalidation/support/issues/54/comments","events_url":"https://api.github.com/repos/formvalidation/support/issues/54/events","html_url":"https://github.com/formvalidation/support/issues/54","id":60114495,"number":54,"title":"Enable validation on hidden field value?","user":{"login":"nghuuphuoc","id":4226036,"avatar_url":"https://avatars.githubusercontent.com/u/4226036?v=3","gravatar_id":"","url":"https://api.github.com/users/nghuuphuoc","html_url":"https://github.com/nghuuphuoc","followers_url":"https://api.github.com/users/nghuuphuoc/followers","following_url":"https://api.github.com/users/nghuuphuoc/following{/other_user}","gists_url":"https://api.github.com/users/nghuuphuoc/gists{/gist_id}","starred_url":"https://api.github.com/users/nghuuphuoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nghuuphuoc/subscriptions","organizations_url":"https://api.github.com/users/nghuuphuoc/orgs","repos_url":"https://api.github.com/users/nghuuphuoc/repos","events_url":"https://api.github.com/users/nghuuphuoc/events{/privacy}","received_events_url":"https://api.github.com/users/nghuuphuoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-06T15:17:22Z","updated_at":"2015-03-08T02:24:34Z","closed_at":null,"body":"_From @toolsmith on March 6, 2015 12:52_\n\nThanks for a great plugin! I have one question before I purchase.  I'm using typeahead with some geocode values and want to validate the parent field \"location\" based on a hidden value that gets updated when a user selects a location from the drop down list.  Is this possible?\r\n\r\nMy hidden two fields look like this:\r\n\r\n    <form name=\"form\" id=\"geoInfoForm\">\r\n        <fieldset id=\"geo-data\">\r\n            <input type=\"hidden\" id=\"lat\" name=\"lat\" value=\"\">\t\r\n\t    <input type=\"hidden\" id=\"lng\" name=\"lng\" value=\"\">\r\n\t</fieldset>\r\n    </form>\r\n\r\nThe location field that should display the field looks like this:\r\n\r\n    <div class=\"form-group\">\r\n         <input type=\"text\" class=\"form-control\" name=\"location\" id=\"location\">\r\n    </div>\r\n\r\nIt gets updated via:\r\n\r\n    $(\"#location\").geocomplete({\r\n        details: \"#geo-data\",\r\n       \ttypes: [\"geocode\", \"establishment\"],\r\n    });\r\n\r\nCan I validate the location field based on valid values from the hidden lat and lng fields?\n\n_Copied from original issue: formvalidation/formvalidation#1451_"},"comment":{"url":"https://api.github.com/repos/formvalidation/support/issues/comments/77728728","html_url":"https://github.com/formvalidation/support/issues/54#issuecomment-77728728","issue_url":"https://api.github.com/repos/formvalidation/support/issues/54","id":77728728,"user":{"login":"nghuuphuoc","id":4226036,"avatar_url":"https://avatars.githubusercontent.com/u/4226036?v=3","gravatar_id":"","url":"https://api.github.com/users/nghuuphuoc","html_url":"https://github.com/nghuuphuoc","followers_url":"https://api.github.com/users/nghuuphuoc/followers","following_url":"https://api.github.com/users/nghuuphuoc/following{/other_user}","gists_url":"https://api.github.com/users/nghuuphuoc/gists{/gist_id}","starred_url":"https://api.github.com/users/nghuuphuoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nghuuphuoc/subscriptions","organizations_url":"https://api.github.com/users/nghuuphuoc/orgs","repos_url":"https://api.github.com/users/nghuuphuoc/repos","events_url":"https://api.github.com/users/nghuuphuoc/events{/privacy}","received_events_url":"https://api.github.com/users/nghuuphuoc/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T02:24:34Z","updated_at":"2015-03-08T02:24:34Z","body":"@toolsmith \r\nI hope this [fiddle](http://jsfiddle.net/nghuuphuoc/9pc21dt7/) helps you."}}