PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → inpunt length wd 18
inpunt length wd 18
Iniciado por guest, 24,feb. 2015 14:17 - 4 respuestas
Publicado el 24,febrero 2015 - 14:17
Hi ,

Is there an easy way to set a minimal length on an input field. I put a mask on it so only digits can be entered and the max lenth is 6 . I need at least 4 digits

Thanks

Allard
Publicado el 24,febrero 2015 - 18:03
Hello Allard,

You could put some code in the on exit part.
If myself..length<5 the etc.
Publicado el 25,febrero 2015 - 10:30
Hello Frans

Yes I thought so but there is no .. length property for the edit control


Allard
Publicado el 25,febrero 2015 - 12:25
Hello Allard

if length(myself)... like for any other string... IF it is declared as string
ofherwise, if lenght(numtostring(myself))...

Best regards
Publicado el 26,febrero 2015 - 11:26
Hi Fabrice,

Thanks, it works. ( should have found that myself, Thanks for helping me out )

Regards
Allard