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. 


  1. F6AutoMask Settings

  2. Select AutoFloat or Mask method
  3. Set the Target Class
  4. If using AutoFloat
    • set Max Decimals
    • set Min Decimals
    • set Decimal Separator Character
    • set Thousands Separator Character
    • set Decimal Rounding
  5. If Using Mask method, and mask Pattern
  6. Add the Prefix if needed
  7. Add the Suffix if needed
  8. 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