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
Argument | Type | Description |
---|---|---|
fileName | String, required | The 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 26 March 2021