Add custom functions to master scripts

Civic Platform master scripts provide a placeholder to include the INCLUDES_CUSTOM master script file.

eval(getScriptText("INCLUDES_CUSTOM"));

Custom functions are stored in the INCLUDES_CUSTOM.js file. You can create custom functions using JavaScript. (See Create custom function with the JavaScript Framework for more information.) If you are still using the standard choice script controls, you will manually add the custom functions into the INCLUDES_CUSTOM script. (See Manually update INCLUDES_CUSTOM for more information.)