[Solved] How to define an alias for a hidden value?


To access hidden values by JavaScript, it would be helpful to define an individual ID for them.
Example: getElementByID(“value1”).

For questions, I can define an alias in the “logic” tab. But this property is missing for hidden values.

strasser90 answered

    Best answer


    Have you tried using a hidden question instead. Set up a question that is a textbox, go to logic, hide it, and then assign an alias as you normally would?


    Mary L (Moderator) selected as best answer

      Aliasses are only known to the server, not to the client (=browser). Therefore, access to alias only possible with custom scripting, not with JavaScript.

      strasser90 answered


        Question stats

        • Active
        • Views1836 times
        • Answers2 answers
        • Followers2 followers