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

0

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

    0

    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
      0

      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
        ×

        Login

        Question stats

        • Active
        • Views2563 times
        • Answers2 answers
        • Followers2 followers