Mô tả
Basic Usage Examples
Add a class in the form field.
- (‘span.date, input.date’).mask(’00/00/0000′);
- (‘span.time, input.time’).mask(’00:00:00′);
- (‘input.date_time’).mask(’00/00/0000 00:00:00′);
- (‘input.cep’).mask(‘00000-000’);
- (‘input.phone’).mask(‘(00) 0000-00009’);
- (‘input.phone_us’).mask(‘(000) 000-0000’);
- (‘input.mixed’).mask(‘AAA 000-S0S’);
- (‘input.cpf’).mask(‘000.000.000-00’);
- (‘input.cnpj’).mask(‘00.000.000/0000-00’);
- (‘input.money’).mask(‘000.000.000.000.000,00’);
- (‘input.money2’).mask(‘#.##0,00’);
- (‘input.ip_address’).mask(‘099.099.099.099’);
- (‘input.percent’).mask(‘##0,00%’);
Credits
Cài đặt
Installing “Masks Form Fields” can be done either by searching for “Masks Form Fields” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:
- Download the plugin via WordPress.org
- Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
- Activate the plugin through the ‘Plugins’ menu in WordPress
Hỏi đáp
-
What is the plugin for?
-
This plugin to add masks in the form’s fields.
Đánh giá
Người đóng góp & Lập trình viên
“Masks Form Fields” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“Masks Form Fields” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “Masks Form Fields” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.4
- Updated Readme description
- Updated jQuery Mask library
- Tested in WordPress 5.5
1.3
- 2019-06-10
- Tested in WordPress 5.2
1.2
- 2017-11-20
- Tested in WordPress 4.9
1.1
- 2017-8-7
- Bug fix: remove date and time mask on body class.
- Add mask only span and input fields.
1.0
- 2016-11-3
- Initial release