Text lost when changing dynamic panel state

Hi, could anyone help on this.
I was trying to create a sign up page. i set the email box with different dynamic panel state. However, the text i type in lost on the moment the box changes state. What can i do so the text is there even the state changes?

Thank you

Hi!

You could do this:

Say you have fields called username1 and username2 in two separate panel states, and you have a global variable called v_username. You would add the following code to each field:

On Text Change (of each field)
  set value of global variable v_username to text on This

Then, on the dynamic panel’s State Changed event:

On State Changed (of the dynamic panel)
  Set text on fields username1, username2 to value of variable v_username
1 Like

Thank you so much josephxbric. It helps a lot.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.