PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Is it possible to Cancel a Form with mandatory inputs with WebDev 20?
Is it possible to Cancel a Form with mandatory inputs with WebDev 20?
Iniciado por JOSEP, 25,mar. 2015 14:35 - 1 respuesta
Miembro registrado
5 mensajes
Publicado el 25,marzo 2015 - 14:35
I didn't find the way to get this behaviour with WebDev 19.
I'm using a form with some mandatory inputs. If I try to Cancel this form I always get the Chrome message:
"[fieldname] control required", so there is no way to close the page.
I tried to close the context and even I was searching a function to deactivate mandatory inputs before closing the form but I didn't find it.
Miembro registrado
5 mensajes
Publicado el 20,octubre 2015 - 11:48
After many ours searching in the help and trialing I didn't find the solution either. Neither in WebDev 20. There should be an easy function such as Form Cancel.
So the trick I did was: in the click code of the Cancel button give values to your mandatory fields. For example, to an edit control give the value " ". This way you will not have problems with your mandatory fields when cancelling.