Jump to content
Sign in to follow this  
berny

trigger script upon entering or leaving a field

Recommended Posts

Hi,

what I would like to do is have a script executed everytime a user is entering a field or leaving a field (in order to generate a history or audit trail of who has done what when).

So far I have seen audit trails based on evaluations (calculations) but would prefer a scripted solution.

Any ideas?

Thank you!

Share this post


Link to post
Share on other sites

you can always use a auto-enter field that stores the user's name/date on modification of that record

Share this post


Link to post
Share on other sites

You will have to use a plugin such as event script or zippscript to run a script upon leaving a fie;d.

Share this post


Link to post
Share on other sites

Or Do script

Share this post


Link to post
Share on other sites

Hi Genx,

I would prefer to do it with scripts, however, I cannot find a trigger that executes a script once the user enters or leaves a field. It seems to be able only with buttons.

Cheers,

Berny

Share this post


Link to post
Share on other sites

ups-sorry

I did not realize that Do Script is another plugin to fire scripts.

I have encountered one problem though:

The user clicks into a field, which triggers the script I want to run. But when the user just clicks into any other field directly the script for leaving the first field will not execute. Is there a way to force the user to click out of the first field (to leave the first field) before any other field can be accessed?

Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.