Form getting saved even when the mandatory field is blank RRS feed

  • Question

  • Hi

    I have a section on a form where 7 fields are getting required on OnLoad of the form.

    There is one field out of 7, which is becoming required but not behaving so, meaning the form gets saved even when you dont fill the value to that particular field.

    Any help on this is appreciated.

    Kruthi Hegde

    Tuesday, August 12, 2014 5:16 AM

All replies

    • Refresh the CRM and publish customization,check it 
    • may be customization or not published properly

    ms crm

    Tuesday, August 12, 2014 6:22 AM
  • hi,

    Once u check the JavaScript and publish the customizations properly. It will work definitely.

    Tuesday, August 12, 2014 10:18 AM
  • Required won't work on a disable field. make sure it's enabled and that the submitMode is "dirty"

    i.e. field.setSubmitMode("dirty");


    Dev Blog: Dynamics CRM - Thinking outside the Box

    Tuesday, August 12, 2014 2:54 PM
  • What is the type of that field?

    Sachith Chandrasiri

    Wednesday, August 13, 2014 6:58 AM
  • If it is a bit field then it always has a default value whether you populat eit or not.

    Regards Faisal

    Wednesday, August 13, 2014 2:32 PM