The CreatorCon Call for Content is officially open! Get started here.

Email Notification List of All Changed Fields

H3ll0 Th3r3
Kilo Contributor

Hi Everyone!

I am hoping to get some advice on email notifications. I would like to have an email notification that is triggered on a change to fields in a form. I want the email to include a list of all the fields that were changed. There seems to be some info about this in the community, but it all seems to be out of date. Most solutions seem to involve creating a business rule and are somewhat confusing.

 

Thanks for your help in advance!

5 REPLIES 5

In the above script

changedFields

stores all the field names that are changed. You can take that field name and get the value of the field.

for(i=0; i< changedFields.length; i++){
    
    template.print(current.getValue(changedFields[i]) + '\n');
}