Hello.
Put the JavaScript in an HTML block and assign that block to the page layout where the form is shown.
There are other ways to add JavaScript too, such as directly in the template files, but using an HTML block is usually the easier method for this kind of task.
Put the JavaScript in an HTML block and assign that block to the page layout where the form is shown.
There are other ways to add JavaScript too, such as directly in the template files, but using an HTML block is usually the easier method for this kind of task.
