Input add attributes module
Security covered
This module provides a widget for input fields that allows you to add attributes like pattern, minimum and maximum values, CSS classes, placeholders, and step increments. It's particularly useful for number and phone number fields, helping to format input with separators and specific step increments to prevent data entry errors.
This module widget allows you to add attributes to the input such as:
- pattern
- min
- max
- class
- placeholder
- step....
For number and phone number fields it'll help you to type numbers with
separators to avoid entering wrong data
For example if you choose a phone number
- Separator as a space
- The step is 2 then it will be in the form 01 23 45 67 89
For example if a number field you choose to
- Separator as space
- The step is 3 then when entering data it will display 10 00 000