Run code on Window Close

Respondido Run code on Window Close

  • quarta-feira, 9 de maio de 2012 15:32
     
     

    When we convert an email to a lead and open the lead form users will sometimes just close the lead form down immediately as opposed to Save or Save and Close. This doesn't trigger field validation which means we have leads in the system that are not allocated to the correct person as Country is a required field on the lead, which is used by workflow to set the lead owner up correctly.

    Does anyone know how to 'fire' code on WindowClose to ensure required fields are populated or does anyone have any alternative approaches to this process?

    Regards

    Shaun 

Todas as Respostas

  • quarta-feira, 9 de maio de 2012 19:35
    Usuário que responde
     
     Respondido

    Hello Shaun,

    For my opinion you can create workflow which will be triggered on Lead creation, check that lead contains all required fields and if not send an email to some your employee with notification that all required fields should be filled.