Apr 15, 2026

Portal Form - On Change of Date Picker

Its very normal to write a JS for any field on the form as below;

$("#so_name").change(function () {
  //code
});

This will not work for a field with Data Picker.

Below is the way to go.

1) Press F12 in the Form to get the code and go to Console

2) Then type $('div.control') and enter. This will produce you a div control list as below.    

3) Now find out the div tag number related to the date picker you are interested in.

4) Suppose its 9, below is the on Change even method for it.           

var dpcontrol = $('div.control')[9];
$(dpcontrol).on("dp.change", function (e) {
     let _startDate = new Date(e.date);
     // Code        
});

Hope this helps!

Nov 29, 2025

Send Email to a direct address in a Flow (without Account, Contact record)

When we work with Dataverse, we use Cloud Flows/ Power Automates to send Email nowadays. Usually, we send a emails to an address associated to a Contact, Account or few other specified entity types records. How about if we need to send an email to a outside Email address which is not associated to any record. It is possible to do as below.

We need three different components here in below sequence. As explained by respective names they are to Initiate, Update and sending the Email.


1) Initiate Email

    Just initiate a Email record using Add a new row action.

2) Update Email

   Then use a Update a row action to populate below details. While passing the already initiated email to Row Id, it is needed to pass same activity Id for bind details of email.     


3) Perform a bound action

    Now its a matter of Sending the email calling SendEmail action in Perform a bound action.