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.
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 JavaScript. Internal 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.
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.