Hi all.
I've tried to get my head around uisng mask on a text control on a from, but I believe I'm asking for too much...
The problem is that I need to solve is.
- Any length but max 10 char/digit/special char.
- Any combination of char/digit/special char must be allowed.
- When 10 pcs are entered, any more input are blocked.
- Avoid the placeholder and the 'cursor' change to 'replace/edit' - style.
In short term - same behavior if I bound the controll to a table filed, and just add max length to 10, with no other mask or input control...
I've been thinking on some kind of OnKey in combination on Len, but haven't found a good solution. I hope someone else have tried this
and may have a good solution on this issue.
I can make a soultion with a local table and use this as bound control. Any new/edit are to sql backend anyway, but I was hoping for a
more easy solution instead...
Brg.
Geirr
I've tried to get my head around uisng mask on a text control on a from, but I believe I'm asking for too much...
The problem is that I need to solve is.
- Any length but max 10 char/digit/special char.
- Any combination of char/digit/special char must be allowed.
- When 10 pcs are entered, any more input are blocked.
- Avoid the placeholder and the 'cursor' change to 'replace/edit' - style.
In short term - same behavior if I bound the controll to a table filed, and just add max length to 10, with no other mask or input control...
I've been thinking on some kind of OnKey in combination on Len, but haven't found a good solution. I hope someone else have tried this
and may have a good solution on this issue.
I can make a soultion with a local table and use this as bound control. Any new/edit are to sql backend anyway, but I was hoping for a
more easy solution instead...
Brg.
Geirr