I have a small issue with CSPro version 8.0. I want each enumerator to enter an ID and password before proceeding with the rest of the questionnaire.
To achieve this, I created two arrays:
One for IDs
One for passwords, where each password corresponds to a specific ID.
Here is my current setup:
Code: Select all
Array numeric mot_pass(14) = 5635, 3163, 1266, 3808, 2042, 7407, 3340, 6056, 1712, 3074,
6599, 3818, 3533, 6236;
Array string id(14) = "ENQUETEUR1", "ENQUETEUR2", "ENQUETEUR3", "ENQUETEUR4", "ENQUETEUR5",
"ENQUETEUR6", "ENQUETEUR7", "ENQUETEUR8", "ENQUETEUR9", "ENQUETEUR10",
"ENQUETEUR11", "ENQUETEUR12", "ENQUETEUR13", "ENQUETEUR14";
For example, if the user enters "ENQUETEUR1", the password must be "5635", and so on for the rest of the list.
How can I implement this verification in CSPro?
Any help would be greatly appreciated.