Change text on click

I have such page:
chrome_IqbZasQYJQ

I want to change the text under the button on click (on the “Submit” button). Can’t figure a way to do so.

It should be somewhere here?

Hi @roman.nastenko

  1. Create a custom state called “my_text” (type = text) in your page;
  2. In your workflow, change the value of this state to be equal to your input’s value;
  3. In your text element, link it’s value to the custom state’s value with something like “index’s my_text”
2 Likes

Heh, interesting. Why I should create the custom text value to change the text? I mean shouldn’t it be right there as a default thing available for change? That seems so unintuitive.

But thanks!

1 Like

Yes, yes… I agree with you.
Bubble could have an action to change the text of a text element through workflow.

4 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.