input mask (1 Viewer)

rainbows

Registered User.
Local time
Today, 05:39
Joined
Apr 21, 2017
Messages
425
hi ,

i use this for the input mask on some of my fields >"PCO"00000;0;? this is for the "works order number" but i have just been asked if it could be modified so i could also put the word "stock" into that field sometimes as we need to purchase stock ie maybe cleaning material etc

can it be modified to use letters as well as numbers

thanks steve
 

June7

AWF VIP
Local time
Today, 04:39
Joined
Mar 9, 2014
Messages
5,472
Last edited:

Cotswold

Active member
Local time
Today, 13:39
Joined
Dec 31, 2020
Messages
528
FORMAT - INPUT MASK PROPERTY - PICTURE
0 := 0 to 9 entry required
9 := number or space entry not reqd
# := number or space entry not reqd + and - allowed
L := Letter A to Z entry reqd
? := Letter A to Z entry optional
A := Letter or number entry reqd
a := Letter or number optional
& := Any character or space entry reqd
C := Any character optional
.,:;-/ depends on settings in International section of control panel
< := All to lower case
> := All to upper case
! : = Causes input mask to fill from right to left
\ := causes the following character to be literal )\A shows A
@ := Text character or space required
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 08:39
Joined
Feb 19, 2002
Messages
43,275
I would suggest doing what you should have been doing all along. Store the prefix separately. Now you have two options. You can still default to PCO but use a combo so the user can pick Stock. Do NOT use a mask unless you want the field to appear to be zero filled.
 

Users who are viewing this thread

Top Bottom