Add Static Resources to a Template

Add Static Resources (CSS, JavaScript, etc.)

You can store images, CSS, and JavaScript libraries in Static Resources for use in your header and footer.

To add a static resource, click on the Add Resource button in the New Template dialog to select a resource to include in the header file (you may need to scroll down in the dialog to see this button).



Reference a Static Resource in a Zip File

To reference a static resource file in a zip file, the subpath must be specified. For example, to reference the “jquery-ui.js” file in a zipped file “jqueryui.zip," you also need to populate the Subpath field when you add the resource.



Important:
Do not add JQuery to your template except as the static resource that is included with FormBuilder Rx. If you want to do this, you need to select JavaScript/JQuery under Resource Type and provide an alias.

If you cannot avoid adding JQuery separately (i.e., separate from the included static resource), you must also check a box labeled “Handle JQuery” in the Add Template or Edit Template dialog in order to prevent a conflict. This checkbox is located above the Add Resource button in the dialog.