The cam-script Directive

It is possible to use custom JavaScript in embedded forms.

Custom JavaScript can be added to a form by using a <script> tag and adding the cam-script directive:

<form role="form">

  <script cam-script type="text/form-script">
  // custom script goes here
  </script>

</form>

On this Page: