what I require is to have an input that must have exactly 10 digits without zero fill. I have restricted the maximum length using bigint(10) this will physically stop the eleventh digit being typed, but how do I set the minimum and give an error message?
thank you in anticipation Barry
exactly 10 digits
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: exactly 10 digits
Did you try with a custom pattern-attribute on that input field?
There is another thread here started by you and answered by pböttcher:
viewtopic.php?f=4&t=4225&p=16699&hilit= ... cab#p16699
Doesn't that work?
There is another thread here started by you and answered by pböttcher:
viewtopic.php?f=4&t=4225&p=16699&hilit= ... cab#p16699
Doesn't that work?
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: exactly 10 digits
Thank you Jan, I could not find that old post.
just have to get a custom error message
just have to get a custom error message
Re: exactly 10 digits
RE: custom error message did you see viewtopic.php?t=1740?
I suggest to google "appgini custom error."
~Paul
I suggest to google "appgini custom error."
~Paul