locked
No Default Value On Quick Create Optionsets CRM 2013 RRS feed

  • Question

  • Hi everyone.

    I have a quick create form for Contact on the Account Entity. 

    Our client has requested that the Gender field be added to the quick create form but and to be optional. Which worked fine. The problem is that it automatically defaults to Male. They do not want it to do this. They want it to remain blank unless it is specifically entered in. It's default option in the standard contact form is to remain blank, how can I make this behaviour happen in the Quick Create form too?

    I have tried to use JavaScript onload to achieve this via:

    Xrm.Page.getAttribute("gendercode").setValue(null)

    This gives me "Error: Object expected"

    What else can I do here?
    • Edited by madbrendon Friday, January 24, 2014 2:13 AM More Info
    Friday, January 24, 2014 2:10 AM