{"action":"reopened","issue":{"url":"https://api.github.com/repos/cubecart/v6/issues/1197","repository_url":"https://api.github.com/repos/cubecart/v6","labels_url":"https://api.github.com/repos/cubecart/v6/issues/1197/labels{/name}","comments_url":"https://api.github.com/repos/cubecart/v6/issues/1197/comments","events_url":"https://api.github.com/repos/cubecart/v6/issues/1197/events","html_url":"https://github.com/cubecart/v6/issues/1197","id":170771493,"number":1197,"title":"State Selector vs Text Entry","user":{"login":"bhsmither","id":4073092,"avatar_url":"https://avatars.githubusercontent.com/u/4073092?v=3","gravatar_id":"","url":"https://api.github.com/users/bhsmither","html_url":"https://github.com/bhsmither","followers_url":"https://api.github.com/users/bhsmither/followers","following_url":"https://api.github.com/users/bhsmither/following{/other_user}","gists_url":"https://api.github.com/users/bhsmither/gists{/gist_id}","starred_url":"https://api.github.com/users/bhsmither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhsmither/subscriptions","organizations_url":"https://api.github.com/users/bhsmither/orgs","repos_url":"https://api.github.com/users/bhsmither/repos","events_url":"https://api.github.com/users/bhsmither/events{/privacy}","received_events_url":"https://api.github.com/users/bhsmither/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-11T23:38:47Z","updated_at":"2016-08-31T08:12:57Z","closed_at":null,"body":"When the browser javascript has been disabled or crashed, all skins are still (mostly) fully functional. allowing the customer to be able to submit a value for State/County that is either empty or spelled incorrectly. \r\n\r\nWith regards to Issues #1080, #931, #871, and #817, suggest that server-side checking include matching the supplied State to the supplied Country. Do more than simply checking for emptiness. If the supplied State cannot be found as a known `abbrev` for the `country_id` given, then bounce with error message.\r\n\r\nThe value from the `function state_json()` may useful, but may need enhancing to include the `abbrev` as well.\r\n\r\nWith many other CC6 functions and features (module zone limits, taxation, basket contents passed to shipping, etc) relying on having the state's `id`, **aggressively** making sure that the `id` is available and used is important.\r\n\r\nhttps://forums.cubecart.com/topic/51577-customer-able-to-bypass-state-dropdown-box-usa/"}}
{"actor":{"display_login":"abrookbanks"}}