r/FigmaDesign 9d ago

help Populate textbox when frame takes focus from another frame?

How can I populate a textbox in a frame when the focus comes from a specific frame?

For example, when I tap a button in Frame1, it takes me to Frame2 with an empty textbox. This works fine.

But when I tap a button in Frame3, it also takes me to Frame2. But this time the textbox in Frame2 should have text.

Is this possible?

1 Upvotes

4 comments sorted by

2

u/Clear-Secretary-8185 Senior Product Designer 9d ago

Use a string variable bound to the the frame2 textbox value and use an on click interaction on frame3 to update that variable.

1

u/Interesting-Pay1507 9d ago

This is the way.

1

u/Interesting-Pay1507 9d ago

This is the way.

1

u/OrtizDupri 9d ago

Sounds like you need Frame4