Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWEdit format mask
#3
(02-27-2024, 06:13 PM)Alexandre Machado Wrote: Hum... possibly it won't do what you expect.

If you use a pattern like this:

\d{5}-\d{5}-\d{5}-\d{5}

It will validate the entry exactly the way you want before submitting it to the server, and it will show a message to the user if the data doesn't comply.

However, it won't apply a mask to the input. The user is basically free to enter anything they want.

If you want to limit the input using a mask, you likely need to use something else.

Let me see if I can get a simple demo on how to do it.

Thanks for your response Alexandre. Look forward to hearing more if you have time.
Reply


Messages In This Thread
TIWEdit format mask - by troberts - 02-26-2024, 04:51 AM
RE: TIWEdit format mask - by Alexandre Machado - 02-27-2024, 06:13 PM
RE: TIWEdit format mask - by troberts - 02-28-2024, 09:03 PM
RE: TIWEdit format mask - by Alexandre Machado - 03-01-2024, 07:09 AM
RE: TIWEdit format mask - by troberts - 03-10-2024, 11:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)