Today we’ll look at the jQuery library and its implementation in an AF form.
You can load the library in two ways.
From a remote source.
JIf your library is already stored somewhere, for example on your hosting provider’s server, add the following code in the HEAD section of the HTML layout file:
You can also use publicly accessible locations, but you can’t control the library version or availability. If you use public locations, the line added to your HTML file could look like this:
As an attachment In the JS directory of the Design tab add a library file, e.g. jquery.js. Add the following line in the HEAD section of your HTML file:
You can also add plug-ins or the jquery-ui library the same way. By implementing a library in customField controls using this method, you can create fields with sliders, for example. Implementing the jQuery library simplifies the management of dynamic content in a form layout and gives access to the wide-ranging functionality offered by the library and its extensions.