Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Set value problems optionset field ( picklist ) as null

$
0
0

In this new version of CRM -type optionset ( picklist ) fields when sending a value and then finish running the OnChange code that field , the OnChange running again generating a cycle. OnChange code field is this:


function new_workaroundonchange() { if (Xrm.Page.getAttribute("new_name").getValue() == null) { alert("You must select the name of the person first."); Xrm.Page.getAttribute("new_pk1").setValue(null); }; };


This is the field:


I appreciate if someone can help me with this case.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>