Here are a few special input masks that I think are worth mentioning as they are time savers.
Convert all input to uppercase:
Accept alpha characters only:
ISO date YYYY-MM-DD:
Integer value with maxlength,minvalue,maxvalue:
Double value with maxlength,maxdecimals,minvalue,maxvalue:
Valid email address:
Any regular expression starts with a ?. The example below validates an email address:
VFP-style picture characters:
! A 9 X
Inputmask to “99 9999” or “99/9999″A:
It won’t put the actual ‘/’ in using the Input mask, but you can use a ‘regular expression’ Input mask to check for the correct entry. This would be the Input mask for 2 digits followed by a slash followed by 4 digits, the ‘/’ prefix indicates the regular expression:
Maybe this in combination with ‘Placeholder text’ to show the format?
(999) 999-9999 as the Input Mask
your input mask there is correct. If you enter this as a input mask on a form field it will format the data as you require.
If you have set the mask in the data dictionary make sure you have “inherit dictionary rules” set to true under “other options” for the form section.