{"id":15980736,"url":"https://github.com/drwpow/html5-form","last_synced_at":"2025-04-04T18:44:57.321Z","repository":{"id":4360845,"uuid":"5497151","full_name":"drwpow/HTML5-Form","owner":"drwpow","description":"\u003c 1kb JS-fallback for HTML5-style validation","archived":false,"fork":false,"pushed_at":"2012-09-07T16:56:24.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T04:17:45.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drwpow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-21T15:40:10.000Z","updated_at":"2013-10-07T12:29:56.000Z","dependencies_parsed_at":"2022-08-30T07:30:25.901Z","dependency_job_id":null,"html_url":"https://github.com/drwpow/HTML5-Form","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FHTML5-Form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FHTML5-Form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FHTML5-Form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FHTML5-Form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drwpow","download_url":"https://codeload.github.com/drwpow/HTML5-Form/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234851,"owners_count":20905852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T00:22:09.781Z","updated_at":"2025-04-04T18:44:57.290Z","avatar_url":"https://github.com/drwpow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"HTML5-Form\n==========\n\nJS-fallback for HTML5-style validation (version 0.2)\n\nDescription\n-----------\nThis is a JS fallback for IE8 / IE9 to use HTML5 form validation, and requires no modification to your forms. It requires all elements with a `required` attribute to be filled out and validate.\n\nIt validates based on an input's `type` attribute. Currently it only supports email validation.\n\nCurrently unsupported, planned for upcoming releases:\n* `tel`\n* `radio`\n* `checkbox`\n\n\nDependencies\n------------\n- jQuery\n\n\nUsage\n-----\nTo initialize:\n\n\t$(document).ready(function() {\n\t\t$('form').html5form();\n\t});\n\nIt will then require every input element with a `required` attribute to be filled out and pass validation.\n\nThe selector can be a form element, or any other element that contains the elements to be validated.\n\n\nOptions\n-------\n* `email` - The default error message for an invalid email (default: `Please enter a valid email address`)\n* `empty` - The default error message for an empty element (default: `Please fill out this field`)\n* `errorClass` - CSS class hook for error messages (default: `error`)\n* `errorID` - ID prefix to apply to error messages (default: `errormsg`)\n* `invalidClass` - CSS class hook for invalid form elements (default: `invalid`)\n* `invalidCSS` - inline style to apply to invalid form elements (default: `{boxShadow: '0 0 4px #f20'}`)\n* `showErrors` - set to `1` or `true` to display form errors; set to `0` or `false` to hide them (default: `true`)\n* `validCSS` - inline style to override the `invalidCSS` setting (default: `{boxShadow: 'none'`)\n\n\nDownload\n--------\nhttps://github.com/dangodev/HTML5-Form/zipball/master","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fhtml5-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrwpow%2Fhtml5-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fhtml5-form/lists"}