Skip to main content
Solved

Input Masking of fields

  • January 10, 2022
  • 2 replies
  • 69 views

Pete_Lindley
Forum|alt.badge.img+9

Is it possible to have an input Mask in the tables / forms? I want a field to be displayed in the format S0123, or another field to be displayed as 4 digits such as 0025 (not simply 25).

Thanks in advance all.

Best answer by Kamille_Parks11

If it isn’t a configuration option then no. A workaround would be to use the Currency field type, which lets you replace the default currency symbol “$” with your own prefix so you can insert “S” at the start of your number. That won’t get you leading zeros, however. For that you would need a separate formula field that does something like: REPT(0, 4 - LEN({Number field}&"")) & {Number field}

2 replies

Kamille_Parks11
Forum|alt.badge.img+27

If it isn’t a configuration option then no. A workaround would be to use the Currency field type, which lets you replace the default currency symbol “$” with your own prefix so you can insert “S” at the start of your number. That won’t get you leading zeros, however. For that you would need a separate formula field that does something like: REPT(0, 4 - LEN({Number field}&"")) & {Number field}


Forum|alt.badge.img+6
  • Participating Frequently
  • January 8, 2024

We have created a form that allows you to mask the text in a field. It is a third-party form that integrates with Airtable.