Skip to main content
Question

Conditional Logic - activate Button over filled out Text Forms


John_AT

Hello to the Community!

My problem is the following:

I want to make a Login Screen and when 2 Textfields are prefilled with the correct values, the Login Button state should swtich from inactive to active.

What I already did:

  • Defined the components with the right pre-defined variables
  • Used a boolean for the button state and linked it to the button
  • Tried out manually in the Variants panel - works
  • Put the button active logic into the password section, so it will be activated as a top down expirience
  • Linked directly the textfield to the pre-defined variables, not the whole Object

The logic I am using is:

  • When User field is filled correctly, userCheck Boolean becomes True
  • When Password field is filled correctly, passwordCheck Boolean becomes True
  • When userCheck and passwordCheck are True, loginButton should become True

For the rest, see the attachments

Is my logic flawed or did I put it smth smwh wrong?

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings