0

Can I change container state based on input field value?

I'm a newbie to Proto.io. I'd like to be able to change state of containers or screens based on what is typed in an input field. Furthermore, I'd like to do this on the Key Up event (rather than have an enter button to trigger evaluation.)

 

For instance:

If input field value = 'a', go to state 1

If input field value = 'ab', go to state 2

If input field value = 'ac', go to state 3

If you clear field, go back to default state

 

Is this possible to do? How would I wire this up?

3 comments

Please sign in to leave a comment.