FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Prevent some characters during input in a text control
Prevent some characters during input in a text control
Iniciado por Gautam, 23,mar. 2021 07:57 - 2 respuestas
Conéctese…
Gautam
#1
Miembro registrado
67 mensajes
Publicado el 23,marzo 2021 - 07:57
Hi All
Is there a way to prevent input of certain characters in a text field using the input mask or similar function or even through the control description window in Webdev 25?
For example when user inputs data into a text field I do not want the system to accept / < > characters in the text input. It should be possible for the user to enter any other character expect the three characters mentioned above.
Is this possible in Webdev 25?
Informar
0
0
Vassilis Boutsikas
#2
Publicado el 01,abril 2021 - 10:26
Hi Gautam,
One simple way is the use of Replace fucntion.
Replace(InitialString, ["<", ">", "//", "/", "\", "\\"], "")
This will replace the special characters you want to block, with none.
I hope to help
Regards
Vassilis Boutsikas
Informar
0
0
Gautam
#3
Miembro registrado
67 mensajes
Publicado el 01,abril 2021 - 21:01
Thanks Vassilis, That would work.
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto