{"id":28303503,"url":"https://github.com/aslamanver/abvalidate","last_synced_at":"2025-09-01T05:33:26.092Z","repository":{"id":44702974,"uuid":"135987571","full_name":"aslamanver/abvalidate","owner":"aslamanver","description":"Don't give default error messages to your clients give in their language which they understand !","archived":false,"fork":false,"pushed_at":"2022-01-30T09:11:03.000Z","size":13,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T04:33:20.339Z","etag":null,"topics":["custom-validation","javascript","jqury","localization","validation"],"latest_commit_sha":null,"homepage":"https://aslamanver.github.io/abvalidate/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aslamanver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-04T07:30:57.000Z","updated_at":"2022-01-11T14:10:32.000Z","dependencies_parsed_at":"2022-09-11T20:21:28.142Z","dependency_job_id":null,"html_url":"https://github.com/aslamanver/abvalidate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aslamanver/abvalidate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamanver%2Fabvalidate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamanver%2Fabvalidate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamanver%2Fabvalidate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamanver%2Fabvalidate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aslamanver","download_url":"https://codeload.github.com/aslamanver/abvalidate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamanver%2Fabvalidate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273077227,"owners_count":25041358,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["custom-validation","javascript","jqury","localization","validation"],"created_at":"2025-05-23T23:11:13.719Z","updated_at":"2025-09-01T05:33:26.060Z","avatar_url":"https://github.com/aslamanver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Custom Message - jQuery Form Validation - abValidate.js\n\n * Contribution are welcome - Give a pull request \u003cbr\u003e\n * Don't give default error messages to your clients give in their language which they understand !\n * https://aslamanver.github.io/abvalidate/ - Example\n\n#### 1. Copy the CDN after your good scripts \n\n```html\n\n\u003c!-- If you have already jQuery script, then do not add this line --\u003e\n\u003cscript type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- abValidate Library --\u003e\n\u003cscript type=\"text/javascript\" src=\"https://raw.githubusercontent.com/aslamanver/abvalidate/master/abValidate.min.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"https://raw.githubusercontent.com/aslamanver/abvalidate/master/abValidate.css\"\u003e\n```\n\n#### 2. How it works\n\n\u003cimg src=\"https://i.imgur.com/5RcwLkd.png\"\u003e\n\n1. Initialize the library\n\n```javascript\n$(document).ready(function () {\n    //.ab-form is your form class\n    $(\".ab-form\").abValidate();\n});\n```\n\n2. That's all, now write all of your code in your HTML\n\n```html\n\u003cform class=\"ab-form\" action=\"your_action_url\"\u003e\n   \n   \u003c!-- Input and error message should be in a div class --\u003e\n   \u003cdiv class=\"my-form-group\"\u003e\n        \u003cinput type=\"text\" ab-validation=\"required|Hey dude you missed that,min:5| No no you want to type more\" name=\"name\" class=\"ab-validation-i\" /\u003e\n        \u003cdiv class=\"error\"\u003e\u003c/div\u003e\n    \u003c/div\u003e\u003cbr\u003e\n\n    \u003cdiv class=\"my-form-group\"\u003e\n        \u003cinput type=\"submit\" name=\"submit\" value=\"Submit\"\u003e\n    \u003c/div\u003e\n\n\u003c/form\u003e\n```\n\n* Add ```.ab-validation-i``` class to your inputs which should be validated and write your validations in ```ab-validation```\n\n```html\n\u003cinput type=\"text\" name=\"name\" ab-validation=\"required,min:5\" class=\"ab-validation-i\" /\u003e\n```\n\n* Examples\n\n```html\n\u003cinput type=\"text\" name=\"name\" ab-validation=\"required|Hey dude you missed that,min:5| No no you want to type more\" class=\"ab-validation-i\" /\u003e\n```\n\n#### 3. Wanna write more ?\n\n```javascript\n$(\".ab-form\").abValidate({\n    color: \"#556b2f\",\n    backgroundColor: \"white\",\n    debug: true\n});\n```\n\nReturn the form status\n```javascript\n$(\".ab-form\").abValidate().success;\n```\n\n#### 4. Avalilable validations\n\n```\n* required|message\n* min:5|message\n* max:5|message\n* email|message\n* confirm:elem_id - without #\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslamanver%2Fabvalidate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faslamanver%2Fabvalidate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslamanver%2Fabvalidate/lists"}