justinmind-logo
 
Upvote 1

Show Panel When Four Other Panels Equal Certain State

Answered Victor Conesa 8 years ago

I'm creating a password check pattern. I currently have four separate dynamic panels with the different state icons (success, error, inactive) for the four different conditions (8-20 characters, upper and lowercase letters, numbers, and symbols).


I'm struggling to find a way to have the confirmation field appear when all of those conditions have been met. Meaning that if all dynamic panels equal the success state, show the confirm panel.


Anyone have any thoughts on this? Am I missing something?

Replies (1)
photo
1

Hi there,


You can use variables for this. Create a different variable for each panel. Add 'set value' events for the condition when the panel = success state, with the outcomes for each setting a number for each variable. Create an 'On Variable change' event for each variable with the outcome 'Set activate panel' with the conditions 'when all the variables = [set numbers]'. The condition will be quite long because it will have to account for each variable.


Hope this helps!


Best,


Danielle

Leave a Comment
 
Attach a file