Changes

Jump to: navigation, search

Savefunc

295 bytes added, 15:05, 31 July 2009
no edit summary
You can use '''savefunc''' to create a custom [[Browser Script]] that runs whenever a record is saved or submitted.
 
'''Instructions:'''
* Create a [[Custom Field]] on the page of type: [[Custom Field Type: Special – Browser Script]]
* Include a function in the [[Browser Script]] called '''savefunc''' that includes the [[JavaScript]] you wish to execute when the record is either saved or submitted.
'''Example:'''
<pre>
//this function runs when save /submit is clicked. It runs the AddActivity script prior to the save/submit.
function savefunc()
{
[[CateogryCategory:JavaScript]]
0
edits

Navigation menu