quinta-feira, 6 de dezembro de 2007 08:55
I hope someone can help me with the following problem:
We have a picklist on our company form where the default value is not assigned. An entry for this picklist is recommended but not neccessary. How can I manage it that a messagebox will pop up by saving a company in case the picklist is empty? It should show me the information that the picklist is still empty and I should have the opportunity to choose between proceeding and saving or canceling. I guess I have to change the onsave event on the form properties but I don't know how the code has to look like.
Greetings from Germany
Todas as Respostas
quinta-feira, 6 de dezembro de 2007 10:26Proprietário
try it:Code Block
if(crmForm.all.yourpicklist.DataValue == null)
if(confirm("Save without picklist?"))
event.returnValue = false;
- Marcado como Resposta DavidJennawayMVP, Moderator domingo, 22 de março de 2009 16:59
sexta-feira, 7 de dezembro de 2007 06:40
it works great. Thanks for your help!