Get value from textbox and input it into another textbox

I have a few textboxes on one page that have several conditions that would make them output different pieces of text. I want to summarize all of these different textboxes into one textbox that displays what each of the other textboxes are currently displaying. However, the “Insert Dynamic Data” doesn’t allow me to display any of these textboxes’ values. Why is this and how can I make the singular textbox display the values of all the other textboxes?

  1. Go to this page https://strategytennis.io/version-test/enter_match_play_data?debug_mode=true

  2. enter “Brian Akhtar” in the first search box and enter “John Davis Walker” in the second search box. For the date/time bubble element, just select the current time. Now press “Start Match.”

  3. On the right, you will see a dropdown that says “Shot.” From the list of options you can click, press “Forehand.”

  4. Click the “Bottom Quadrant A” green button and the “Top Quadrant B” green button.

  5. You will now see that all the textboxes in green text are filled out and read “Brian Akhtar” “Forehand” “from A” “Bottom” “to B” “Top” “Winner.” Below these you will see an textbox element called “Final Outcome.” In this textbox element, I want it to read one single sentence that says “Brian Akhtar Forehand winner from A to B”.

  6. I am unable to figure out how to input the value of each of the textboxes into the “Final Outcome” textbox element. I have tried using custom states for each of the elements. The way I currently have the custom elements set up is this:
    “Text From” text element: text from custom state type text called “From”, the value of it is equal to “Text From’s From” but this outputs “empty.” Therefore, when I try and display “Text From’s From” in the “Final Outcome” textbox element, it comes out blank (blank because this example is the exact same for the other textboxes.

What am I doing wrong and how can I make this work? Any help is greatly appreciated!

Kind Regards,
Brian Akhtar

Hello @kngf222

Replace text elements with inputs

Style the inputs to make them look like text elements

Now you can use the values you insert there for later use in your workflows

screen 111

By the way … very nice tennis app!

Hope this helps :+1:

1 Like

Genius! Thank you so much!

And thank you, it has been fun to build this app and improve upon my design and functionality skills gained from previous websites I have built.

1 Like

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