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.
GulfITAsked:
Who is Participating?
 
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
 
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Hi,

Two option set cannot be blank. It has to be either Yes or No.
0
 
GulfITAuthor Commented:
Found out a way by my self
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.