Difference between revisions of "Savefunc"

From SmartWiki
Jump to: navigation, search
Line 13: Line 13:
 
RunAnotherFunction()
 
RunAnotherFunction()
 
do that
 
do that
 +
return True
 
}
 
}
 
</pre>
 
</pre>

Revision as of 11:19, 31 July 2009

You can use savefunc to create a custom Browser Script that runs whenever a record is saved or submitted.

Instructions:


Example:

function savefunc()
{
do this
RunAnotherFunction()
do that
return True
}