WebSite X5Help Center

 
Sinisa B.
Sinisa B.
User

Exact number of characters in the text field?  en

Autor: Sinisa B.
Visitado 55, Seguidores 1, Compartilhado 0  

Hello everyone!

How do I set up a "text field" in a form so that a specific number of digits (characters) can be entered?

For example, how do I code a text field to accept exactly 15 characters (digits) and to report an error if the number of digits is smaller or larger?

Thanks in advance for your help!

Publicado em
5 RESPOSTAS
Axel  
Axel  
User
Usuário do mês EN

Propably our friend KolAsim will find a solution via js wink

Ler mais
Publicado em de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Axel  
Propably our friend KolAsim will find a solution via js

... it's well known that, for my part, without a LINK(!) and without the type of string to check, I can't evaluate...!....

... however, for information purposes, a simple check like the one relating to the tax code could be used...
... otherwise, by now it's become elementary for everyone to consult IA...

.

ciao

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Sinisa B.
Sinisa B.
User
Autor

@ Axel and KolAsim

Thank you, guys!

So, AI will soon be running our forum?!

I would normally put a smiley face there, but from what I've read - almost all office jobs (including programming) will be replaced by AI until 2030.

If that meant that people would no longer have to do dangerous, stupid and boring jobs, that would be OK, but I feel like the future is much darker...

Best!

Ler mais
Publicado em de Sinisa B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Sinisa B.
@ Axel and KolAsim Thank you, guys! So, AI will soon be running our forum?! ... ... ... 

... if you ask for EXTRA solutions not currently provided, it's the least you could do...
...on certain occasions, I've given additional suggestions on IA code posted by others and applied to the Project....

...possibly, wait to see what the experts have to say, ...but if you post the LINK to the module and the type of string to check as requested above, and let me know, I'll come back here...
.
ciao

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User
Usuário do mês EN

Like Said KolAsim with ChatGPT the solution is...

Find by an Inspect the name field

And into page Propreties you can copy his copy to check field lenght 

Hope this helps

Axel

Ler mais
Publicado em de Axel