Difference between revisions of "Savefunc"
From SmartWiki
Line 2: | Line 2: | ||
+ | '''Example:''' | ||
+ | <pre> | ||
+ | //this function runs when save is clicked. It runs the AddActivity script prior to the save/submit. | ||
+ | function savefunc() | ||
+ | { | ||
+ | AddActivity() | ||
+ | } | ||
+ | </pre> | ||
[[Cateogry:JavaScript]] | [[Cateogry:JavaScript]] |
Revision as of 11:01, 31 July 2009
You can use savefunc to create a custom Browser Script that runs whenever a record is saved or submitted.
Example:
//this function runs when save is clicked. It runs the AddActivity script prior to the save/submit. function savefunc() { AddActivity() }