var currentValue = arguments.value; // the field's current value var tabIndexFooterJS = ""; // Load the inline JavaScript after the libraries have loaded application.ptCalendar.scripts.addFooterJS(tabIndexFooterJS, "SECONDARY"); // PRIMARY, SECONDARY, TERTIARY // field renders only the script function public void function renderStandard() { renderControl(argumentCollection=arguments); } /* IMPORTANT: Since loadResourceDependencies() is using ADF.scripts loadResources methods, getResourceDependencies() and loadResourceDependencies() must stay in sync by accounting for all of required resources for this Custom Field Type. */ public void function loadResourceDependencies() { // Load registered Resources via the ADF scripts_2_0 application.ADF.scripts.loadJQuery(); } public string function getResourceDependencies() { return "jQuery"; }