function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AltranAltran 

Triggers or automatism's in force.com fields

Hi,

 

It is possible to associate triggers or automatism that are executed when the value of the editable field is changed? In other words, what we want is a trigger to be fired when the focus leaves the field.
 
Many thanks,
Ana


Jia HuJia Hu
If you updated the value of a field, the trigger will be fired.

When the focus leaves the field, the trigger can't be fired.
SFFSFF

If you literally mean what you say, you can set up logic to fire when focus leaves a field using a Visualforce page and Javascript. (This isn't a trigger as such but rather an Ajax call.)

 

Hope this helps,

AltranAltran

Hi,

 

Thank you for you answer.

Can you give me a link with an example of this kind of implementation?

 

Many thanks,

Ana