Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Display random (or unique) ID numbers at the beginning of a survey


we are about to conduct a CAPI survey with several interviewers. Our project partner wants us to display a random ID (or a unique ID number from a predefined list) for each interviewer on the first page of the survey. A number should only be avaiable once. An interviewer is directed to write down the number and transmit it for verification.

Appreciate any idea on how to implement this requirement.

Kind regards,
asked Sep 11, 2018 by Andrew Bronze (1,125 points)

1 Answer

0 votes
You can import your sample into Sawtooth Software.

Your sample would normally include, but is not limited to, an ID or password plus additional sample fields (e.g. age, name, location, gender, etc.).

Click on the Access key and define your ID / password under the Password Fields tab and define any additional sample fields under the Merged Fields tab. Enter all relevant information.

Your sample can be imported via a CSV file format.

To display your ID or password, simply insert this SSI Script onto your survey page ...

[%Password%] if your ID is called "Password".
[%ID%] if your ID is called "ID".

Ensure your ID / password and additional sample fields are defined exactly the same within your CSV file and within the Sawtooth Software authoring. tool.

Every respondent should receive their own unique survey link which includes their own unique ID or password.

Another option is to not import your sample in and pass your sample fields in via the survey link. You would define your sample fields in the Pass-In Fields tab instead. Hit F1 for HELP in Sawtooth and search on one-click access to survey. This will show you how to setup your survey links.
answered Sep 11, 2018 by Paul Moon Platinum (84,255 points)
edited Sep 11, 2018 by Paul Moon
thank you very much. I think this will do the job.
Awesome! Let me know how you go. Good one mate.
how to increase unique id width