Hi,
Was required to set the default value of a certain field in Survey entity from Yes to No. I edited the default value to No and published it but every time we're creating a new Survey the initial value upon form loading is No but keeps on going back to Yes.
Has anyone experienced this issue?
*This post is locked for comments
Please try below and let me know if that answers your question.
Hi, How are you setting defaultValue in formXML?
try this in form XML: <DefaultValue>true</DefaultValue>
On Page load, change the value to value you need;
var yourAttribute = Xrm.Page.data.attributes.get("controlname");
yourAttribute.setValue("0");
Hi Rome Palaganas,
Check that there is no custom logic running on the field such as a Business Rule, JavaScript, Plugin, or Workflow, as this is a potential cause of the problem.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6