F6AutoMask allows you to set a pattern "Mask" for a foundation 6 form input. F6AutoMask also allows you to create an "Auto-float" field that will automatically insert decimal and thousand separator characters. You define the decimal character, thousands separator character and decimal places in the UI. You can also set a prefix and suffix that will be automatically added to the input.
F6AutoMask Settings
- Select AutoFloat or Mask method
- Set the Target Class
- If using AutoFloat
- set Max Decimals
- set Min Decimals
- set Decimal Separator Character
- set Thousands Separator Character
- set Decimal Rounding
- If Using Mask method, and mask Pattern
- Add the Prefix if needed
- Add the Suffix if needed
- Add the Target class to the form input
Notes:
The following place holders are possible when masking:
- 9 = digits
- A = uppercase alphabetic characters
- a = lowercase alphabetic characters
- * = alphanumeric characters
- . = decimal point
- , = comma
- Y = year
- M = month
- D = day
- h = hour
- m = minute
- s = second
Examples:
(999)999-9999
YYYY-MM-DD hh:mm:ss
9999-9999-9999-9999
Aa
Requires Stacks 5.1+ or StacksPro