{"id":20840831,"url":"https://github.com/petermann/masks-form-fields","last_synced_at":"2026-03-05T06:01:36.764Z","repository":{"id":189516413,"uuid":"72773078","full_name":"petermann/masks-form-fields","owner":"petermann","description":"A plugin to add masks in the form’s fields for WordPress.","archived":false,"fork":false,"pushed_at":"2026-01-12T22:35:36.000Z","size":245,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T02:47:32.419Z","etag":null,"topics":["contact-form","contact-form-7","input-mask","maskedinput","masks","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://ivanpetermann.com/masks-form-fields/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petermann.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-11-03T18:07:52.000Z","updated_at":"2026-01-12T22:35:43.000Z","dependencies_parsed_at":"2024-10-26T01:35:53.964Z","dependency_job_id":"312b410d-eae2-43ab-84cf-5e9e0378bc51","html_url":"https://github.com/petermann/masks-form-fields","commit_stats":null,"previous_names":["petermann/masks-form-fields"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/petermann/masks-form-fields","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermann%2Fmasks-form-fields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermann%2Fmasks-form-fields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermann%2Fmasks-form-fields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermann%2Fmasks-form-fields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petermann","download_url":"https://codeload.github.com/petermann/masks-form-fields/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermann%2Fmasks-form-fields/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30111779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["contact-form","contact-form-7","input-mask","maskedinput","masks","wordpress","wordpress-plugin"],"created_at":"2024-11-18T01:17:56.968Z","updated_at":"2026-03-05T06:01:36.617Z","avatar_url":"https://github.com/petermann.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Masks Form Fields\n=========================\n\n![WordPress Plugin Version](https://img.shields.io/wordpress/plugin/v/masks-form-fields)  ![WordPress Plugin Rating](https://img.shields.io/wordpress/plugin/rating/masks-form-fields)  ![WordPress Plugin: Tested WP Version](https://img.shields.io/wordpress/plugin/tested/masks-form-fields)  ![WordPress Plugin Active Installs](https://img.shields.io/wordpress/plugin/installs/masks-form-fields)  [![WordPress Plugin Downloads](https://img.shields.io/wordpress/plugin/dt/masks-form-fields)](https://wordpress.org/plugins/masks-form-fields/)\n\nA plugin to add masks in the form’s fields for WordPress.\n\n[![masks-form-fields logo](assets/banner-github.png)](https://wordpress.org/plugins/masks-form-fields/)\n\nDownload the plugin via WordPress.org =\u003e https://wordpress.org/plugins/masks-form-fields/\n\n## Basic Usage Examples\n\nAdd a class in the form field.\n\nExample of use with [Contact Form 7](https://wordpress.org/plugins/contact-form-7/): \n\n`[tel your-phone class:phone placeholder \"Phone\"]`\n\nListing of classes available for use.\n\n```\n('span.start, input.start').mff_mask('00/0000');\n('span.date, input.date').mff_mask('00/00/0000');\n('span.time, input.time').mff_mask('00:00:00');\n('span.time2, input.time2').mff_mask('00:00');\n('input.date_time').mff_mask('00/00/0000 00:00:00');\n('input.date_time2').mff_mask('00/00/0000 00:00');\n('input.cep').mff_mask('00000-000', { clearIfNotMatch: true });\n('input.zip').mff_mask('00000');\n('input.phone, input[name=\"phonebr\"]').mff_mask(PhoneMaskBehavior, nonoOptions);\n('input.phone_us').mff_mask('(000) 000-0000');\n('input.taxid').mff_mask('00-0000000');\n('input.ssn').mff_mask('000-00-0000');\n('input.mixed').mff_mask('AAA 000-S0S');\n('input.cpf').mff_mask('000.000.000-00', { reverse: true, clearIfNotMatch: true });\n('input.cnpj').mff_mask('00.000.000/0000-00', { reverse: true, clearIfNotMatch: true });\n('input.money').mff_mask('000.000.000.000.000,00', { reverse: true });\n('input.money2').mff_mask('#.##0,00', { reverse: true });\n('input.money3').mff_mask('#,##0.00', { reverse: true });\n('input.money4').mff_mask('000,000,000,000,000.00', { reverse: true });\n('input.money5').mff_mask('#.##0', { reverse: true });\n('input.money6').mff_mask('#,##0', { reverse: true });\n('input.ip_address').mff_mask('099.099.099.099');\n('input.percent').mff_mask('##0,00%', { reverse: true });\n('input.percent2').mff_mask('##0.00%', { reverse: true });\n('input.percent3').mff_mask('990,0%', { reverse: true });\n('input.percent4').mff_mask('990.0%', { reverse: true });\n('input.percent5').mff_mask('#,##0%', { reverse: true });\n('input.percent6').mff_mask('#.##0%', { reverse: true });\n```\n\n[*Click here*](https://gist.github.com/petermann/fd1a898e02ca91a0d7231a9f8ee662b4) for more details on how to add custom mask.\n\n**Optional**\n- Added option for the format of the Brazilian phone number, with attribute `name` equal to `phonebr`.\n\n## Installation\n\nInstalling \"Masks Form Fields\" can be done either by searching for \"Masks Form Fields\" via the \"Plugins \u003e Add New\" screen in your WordPress dashboard, or by using the following steps:\n\n1. Download the plugin via WordPress.org =\u003e https://wordpress.org/plugins/masks-form-fields/\n2. Upload the ZIP file through the 'Plugins \u003e Add New \u003e Upload' screen in your WordPress dashboard\n3. Activate the plugin through the 'Plugins' menu in WordPress\n\n### Credits\n\n* [jQuery Mask Plugin](https://github.com/igorescobar/jQuery-Mask-Plugin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermann%2Fmasks-form-fields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetermann%2Fmasks-form-fields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermann%2Fmasks-form-fields/lists"}