Modify widget values based on other widget - UI Designer

1
0
-1

Hello,

I need to make a page where it contains a custom widget.

How can I get a value from a selected value?

Example:
I have a select widget with values ​​[Lucas, Rafael]

If the value selected is "Lucas" in the text box next to it, the value will be "lucas@teste.com.br"

Thank you very much!

1 answer

1
0
-1
  1. Create a page
  2. Add a variable selectedValue type JSON
  3. Add a select widget set the page
  4. Available Values = Lucas, Rafael
  5. Value = selectedValue
  6. Add a text box to the page
  7. Text = {{selectedValue}}@teste.com.br
  8. Preview

Works

regards
Seán

PS: As this reply answers your question, please mark as resolved.

Notifications