Preload variable

Good morning, I am trying to preload string type variables in order to place them as static text within the survey. Is this possible?

We do this because we have tried to load text type questions and use the protected variables file, however, even though the variables are protected, they always allow their values ​​to change.

Help me please…!!

  • Calculated variables can’t be preloaded.
  • Text questions can be preloaded.

Both points are made in the Design limitations by question type.

Your screenshot shows a text list question, not text question. And the padlock icon indicates that that value cannot be changed (contrary to what you are writing). Text questions can’t be protected.

If you want to display some preloaded text, the standard approach is to: preload a hidden text question, then use it for substitutions.

Best, Sergiy

Hi Sergiy,

I’m looking to preload variables so I can display them in static texts.

In the one you mentioned that is a list type question, it is a numeric question that for some reason, despite being placed protected, enables a field below it.

The example is loaded in the demo server as “Nuevo”

https://demo.mysurvey.solutions/jan24/Questionnaires/Details/da5e6876-420a-419c-ae95-799497bd6c58$2

My goal is to load information from a legacy system that is read-only so that it can serve as a guide for the user. We have this file generation process automated.

I hope this will clarify:
Protected does not have the same meaning as read-only.

The documentation is actually quite clear about this:

The protection applies to reduction, but permits extension.