This script enables you to store the IP address of a participant into a hidden Open End question.
Detailed Steps
Add the hidden open end question to your survey
- Click on the Questionnaire tab of your survey.
- Add your Open End question.
- Select the Hidden check box at the top of the question to hide it.
- Add a script action at the beginning of the survey.
Prepare the script in Notepad:
- Open Notepad or a similar text editing tool.
- Copy the script below into Notepad.
/* Script Name: How do I record a respondent's IP address? To ensure your script works as expected, always copy the original script from the script library found in the support portal. Failure to use the most up to date script from the script library may cause unexpected results. */ Set(IP_Address, UserHostAddress);
- Edit the script in Notepad by replacing IP_Address with the name of your hidden open end question.
- Save the completed script in Notepad.
Insert the completed script into your Action Script:
- Copy the completed script from Notepad.
- Select your script at the top of the Questionnaire Tree.
- Paste the completed script in the script window.
- Click Save
- Click Validate.
Comments
0 comments
Article is closed for comments.