locked
Stop CRM Message Box on the Contact Email Fiels RRS feed

  • Question

  • Does anyone know how to disable the message box that comes up when an invalid email address is entered? I have a custom script that I want to run instead.

    Wednesday, April 8, 2009 3:57 PM

Answers

  • It is fixed thanks to this post:

    Hi, You can overwrite the email field class name if you want to use your own. In the OnLoad event, try: crmForm.all.emailaddress1.className = "ms-crm-Field-Normal"; //then put your code here. Hope it helps. 
    
    Cheers, Jim -------------------------------------------------------------------------------- 
    Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com , http://mscrm.cn
    I changed the class on the OnChange event then checked this property.
    Wednesday, April 8, 2009 7:40 PM

All replies

  • Hi,

    Could you explain more?

    Good Luck!
    Wednesday, April 8, 2009 5:01 PM
  • When a contact is created and an invalid email address is entered a message box pops up letting the user know they have entered an invallid email address. I do not want that message box to show up. I have a script that has stronger verifiacation that I would like to use with its own message box.

    Wednesday, April 8, 2009 6:36 PM
  • It is fixed thanks to this post:

    Hi, You can overwrite the email field class name if you want to use your own. In the OnLoad event, try: crmForm.all.emailaddress1.className = "ms-crm-Field-Normal"; //then put your code here. Hope it helps. 
    
    Cheers, Jim -------------------------------------------------------------------------------- 
    Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com , http://mscrm.cn
    I changed the class on the OnChange event then checked this property.
    Wednesday, April 8, 2009 7:40 PM