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


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.

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");
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:

Two option set cannot be blank. It has to be either Yes or No.
GulfITAuthor Commented:
Found out a way by my self
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.