GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
How do you Cancel on a Form with required fields...
How do you Cancel on a Form with required fields...
Iniciado por Kevin Erskine, abr., 20 2009 11:33 AM - 2 respostas
Conecte-se…
Kevin Erskine
#1
Publicado em abril, 20 2009 - 11:33 AM
Dynamic website... WebDev v12
I have a form and if I edit some fields, blank out some required fields and
then hit the Cancel button, it pops up messages about fields being required.
Is there a way to have required fields on a screen and still have the cancel
button work?
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
Denunciar
0
0
Christian Potvin
#2
Publicado em abril, 23 2009 - 1:37 AM
Hi Kevin,
Don't use required fields but validate them by code in a page button, let's say 'Register' ?
You can do this in the button navigator code section and give messages if they are empty and then do a 'ReturnToCapture()' to the faulty field.
Christian
Kevin Erskine a écrit dans le message de news <49ebd8d7@news.pcsoft.fr> :
Dynamic website... WebDev v12
I have a form and if I edit some fields, blank out some required fields and
then hit the Cancel button, it pops up messages about fields being required.
Is there a way to have required fields on a screen and still have the cancel
button work?
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
Denunciar
0
0
Kevin Erskine
#3
Publicado em abril, 23 2009 - 9:40 AM
OK - I was figuring this is what I would have to do, but was trying to use
the designer features.
It is ashame to have to code all this -- I think Cancel should "Cancel"
Thanks
Kevin
"Christian Potvin" <cpotvin@beaulieucanada.ca> wrote in message
news:c578ceb6a19cd76a6be82f055d4c9c5d@news.pcsoft...
Hi Kevin,
Don't use required fields but validate them by code in a page button,
let's say 'Register' ?
You can do this in the button navigator code section and give messages if
they are empty and then do a 'ReturnToCapture()' to the faulty field.
Christian
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto