Jul 13, 2020 02:45 PM
I didn’t see this discussed but it seems like something that would be extremely valuable.
Is there a way to run a script upon leaving a field or when a field value changes?
Jul 13, 2020 03:34 PM
Hi Matthew,
There is now as long as you have some development skills in Javascript.
Jul 14, 2020 04:41 AM
I saw this but is it active? I don’t like the idea of needing to have a view to catch changes to X or Y field. Perhaps a generic view based on modified date for a short period - so that it re-enters that view on any change.
But being able to trigger code based on any given field changing would be far more elegant and powerful. Common actions should be captured - new record, deleting a record, entering bad data, etc.
Jul 14, 2020 06:04 AM
Yep - until granular events are supported, this (or many external approaches) are the options.
This limitation will lead to many new views being created that could be avoided with your elegant approach. But, this is a significant step forward and it’s beta, so the dev team is waiting to hear your input.
Jul 14, 2020 07:33 AM
Yes, but you need to request access to the beta using the form listed on the linked thread. I’ve been using it for a bit, and it’s pretty slick. However, I agree that a more granular trigger system would be nice.
This is definitely possible with the current setup. And while the text in that linked thread only briefly mentions it, new records can also be triggers. I’m hopeful that the trigger options will expand over time, but how quickly that happens is unknown.
Jul 14, 2020 08:45 AM
I’ve requested access. We’ll check it out. Thanks for the responses.
Apr 19, 2021 05:15 PM
Can i have access to this feature please?
I need to trig a script when values change too.
Thanks
Apr 19, 2021 08:05 PM
The trigger for running an automation when a field is updated should now already be available to everyone.
Note however, that you have to be careful when using this trigger, as every key press is considered an “update” to the field. Also, if a record is created via a form or an API, the fields are not considered to be “updated” with their initial values.