How to display a non editable value

Overview

If you would like to display a value to the interviewer, captured or calculated somewhere in your survey without allowing the surveyor to modify it - as a "read-only" value.

 

In this how to we will demonstrate the concept while using the following example – I want to display a unique generated number to the surveyor (we will be using the http://support.dooblo.net/entries/31685471-How-to-generate-a-unique-respondent-id method for this), I would like to store this value as an answer to a question and I would like to show it to the interviewer but I do not want him to have the ability to modify this value.

 

How to implement:

1. Add a dummy question that will hold the needed value, in our case an open ended dummy question with a variable name of DummyOE:

 1.png

2. Add the script to set the value to this question:

 2.png

 

  Please note: the script cannot be placed inside the actual dummy question as scripts placed inside dummy questions are not executed, please place the script     in a displayed question.

3. Add an empty question with a place holder in its text which will present the value to the surveyor but since it is an empty question he will not be able to modify     it:

 3.png

4. Add the script to pipe the value from the dummy question (If you are not familiar with our piping method please review this guide -       http://support.dooblo.net/entries/22810137-Piping-text-into-Questions-and-Answers):

 4.png

And here is how it will be displayed on the device:

 Screenshot_2016-01-03-16-18-47.png

 

That’s it!

Visit us at: http://www.dooblo.net

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.