SwiftCase

How to add JavaScript

Adding a JavaScript action

  1. Click on the Forms & Actions tab to configure the status page. This will display a blank box with an Available Actions bar on the right-hand side.
  2. Drag and drop the JavaScript action from the Available Actions into the blank box.

  • In the code box, add the JavaScript you want to appear on the status page. Do not add script tags, SwiftCase will add them for you.
  • In the Visible to box you can add users who you want to be able to view the JavaScriptInternal Users can see the content by default.
  • Under Visibility Rules you can hide the JavaScript until question(s) from forms are answered by clicking the Add Question button and adding a question.

Note:

You can add more than one question and also add a specific answer, so the box will only show after this specified answer is inputted.

Comments are closed.