Saving text in text input

I need help to save the text in my text imputs so when someone types in them it stays there intel it is modified again


can someone help me with this

The first two methods I can think of are:

  1. Have a button “Save” that saves the text to a data thing field when clicked. This should be very simple to implement.
  2. Have a workflow that runs every 5 seconds, and saves the text every 5 seconds. This seems a bit unnecessary but I think it’d work for limited uses. You could add a condition that only allows this update to happen if the text does not remain unchanged from the last save.
    image
    In both cases, you can set the text to have initial content from the database. Also add the condition on changed text here as well so it doesn’t overwrite something that hasn’t changed.

I hope that helps and best of luck on your project!
Taylor

A third option would be to click the “Enable auto-binding on parent element’s thing” so that when the text of the input changes, it automatically updates the data record. Then set the input’s initial content to the data field it was saved to and when someone reloads a page or comes back to it, it displays the changes made earlier. Anytime the text is changed in the input, it automatically saves the text to the database.

1 Like

Nice! I was not aware of the “Enable auto-binding on parent element’s thing” (Not aware of what it did). That sounds like a much better solution.

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