• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 468
  • Last Modified:

Setting Two Option Set to Blank on a New Form - Dynamics CRM 2011

Hi,

In CRM 2011 i need to set the Two Option Set (Yes/No) to blank for a new form and for an updated form the values selected previously needs to remain.

Since the field mentioned is mandatory its defaulting to No.

Please guide me.

Thanks.
0
GulfIT
Asked:
GulfIT
  • 2
1 Solution
 
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Hi,

Two option set cannot be blank. It has to be either Yes or No.
0
 
GulfITAuthor Commented:
I found out a way to set on form load to set the two option set  to null.

Xrm.Page.getAttribute("XXXXXX").setValue(null);            Xrm.Page.getAttribute("XXXXXXXXX").setSubmitMode("always");
0
 
GulfITAuthor Commented:
Found out a way by my self
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now