Skip to main content

What is the "state" of a Display Form and how can I use it?

Comments

2 comments

  • Stefan Schweigert

    Hi Nico,

     

    The .state provides access the Display Form's elements.

     

    For example, if you have a Display Form with a Check Group in it, if you wanted to access the value of one of the Check Boxes within it, you would use this syntax: =$CheckGroupForm.state.CheckGroup.items[0].checked

     

    CheckGroupForm is the Display Form activity and CheckGroup is the ID of the Check Group form element that I have configured within it.

     

    Thanks, Stefan

     

    0
  • Nico Burgerhart

    Yes, I know this. But it raises the question why it is not just

    =$CheckGroupForm.CheckGroup.items[0].checked

    Is it related to the state concept in React?

    https://www.tutorialspoint.com/reactjs/reactjs_state.htm

    0

Please sign in to leave a comment.