Use Visforms Custom Plugin

Load JavaScript via your own ‘Visforms Custom Plugin’

With a ‘Visforms Custom Plugin’ you can add JavaScript to a form.

The ‘Visforms Custom Plugin’ is designed in such a way that the JavaScript code is only loaded

  • together with the desired form,
  • in the desired situation (form, data, edit data).

Creation of a ‘Visforms Custom Plugin’

The creation of a ‘Visforms Custom Plugin’ is described in detail in the documentation.
More on this in: Creating a custom plugin.

Example Code 1: Prevent Submit by users who are not logged in

More on this in: Prevent Submit.

Sample Code 2: Add a hidden field and set its value dynamically

More on this in: Add a hidden field and set it dynamically.