How To: Work with QRef’s & Short ID’s
Working with QRef’s and Short ID’s is one of the most basic methods for keeping your survey organized, readable and correctly indexed.
Those methods are easy to use and will help preventing scripting errors that might be caused.
Let’s say for example that we have the following script written somewhere in our survey:
If we add\remove more questions\chapters or move questions places, that scripts index might not index any more to the right question.
method should be used.
If the script is written like that, no matter what changes will be made, the index will follow the correct question it was indexed on.
In conclusion, getting used to add QRef’s regularly is easy, quick and saves a lot of time in case of index errors.
In order to index our questions in the most elegant way; we have the Short ID method.
If you go to the survey properties tab and check the ‘ShortID as Question Index’ & ‘Show Question Index’:
Then, if you go to the variables tab of a question, you can choose its ID:
After choosing it’s ID, you will notice that the short ID will appear as following:
And when the survey will run, it will appear like that:
This is an easy, quick and elegant way to organize all your questions with their index’s.
That’s it, two simple methods, but highly important.
Visit us at: http://www.dooblo.net