Toggle menu

helper.utilLoadCSS(fileName)

A function used to dynamically load a css file.

This is also used by the form runtime to load the jQueryUI theme if jQueryUI is not already present.

Executed

Client-side.

Arguments

ArgumentTypeDescription
fileNameString, requiredThe URL to the css file

Example

Included in a page init function this would make additional CSS available to your form.

function(helper, fieldName, value, valid, eventName) {
    helper.utilLoadCSS("https://cdnjs.cloudflare.com/ajax/libs/chosen/1.6.2/chosen.min.css");
}

Last modified on March 26, 2021

Share this page

Facebook icon Twitter icon email icon

Print

print icon