Javascript: NEW Open TP for Same Participant - No Sub Form
Purpose
This is code that can be pasted into a Message/Instruction element for a Single-Participant TouchPoint to allow the staff user to click through to recording a second, pop-up TouchPoint for the same participant.
Instructions
The code should be opened in a text editor and modified in small ways. It requires two elements:
- The TouchPoint ID of the destination TouchPoint
- The Text for the Button
If using your own Close_Page return, the web address of the Close_Page file. If using the Treadwell hosted version, do not change the code for the ReturnPage element.
The code cannot have any line breaks. All line breaks must be removed before pasting into the Message/Instruction element.