Validation for Form Component Control using JavaScript in D365 CRM.

Hello Guys, In our previous blog we have explored how to use same control for regarding columns. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. Consider a scenario where we have used form component control and we want to validate or make some fields mandatory on that form component control. For example, in the below example we have one field i.e. Email Confirmed. Now when we make it as yes, then fax field which is a part of form component control should be mandatory. To Achieve this we can use JavaScript. Let's see how to do that. First of all we will be writing a JavaScript function which we will be calling on change of Email Confirmed field. As you can see we written JavaScript. Now we will adding this JavaScript function on change of Email Confirmed. So we have configured our JavaScript function. Now we will open the record and check for the validation is workin...