Change text based on parent state

I have a modal that has a default title: “Sign in to your account”.

I want to add a “signUp” state to the modal, and then use that state to change the title’s text value to “Create your account”.

How do I do this?

Hi @unlustucru,
To do so you can simply create a boolean variable signUpModalState with false default value,for exemple. On click on a button the workflow associated can change the variable. In your title text field you can bind the following formula :
if(signUpModalState = true, “Create your account”, “Sign in to your account”)