Save data from text box

I would like to save data from a textbox. How do I do that? I am pretty sure I need to add a databinding and have that write back.
1.Does the databinding have to save to a table?
2.If I already have a “database” that has columns of the form [text,text,number] and my new data I need to use the form [number,text,text], does that mean I need a new database?

This will get you started with the TextBox component.

1 Like

UI objects and data table columns are all referred to by name, so it doesn’t matter the order of columns in the table, vs the visual order on the form layout.

In Anvil, values are most often saved to a data table for persistent storage, but they could just as easily be collected into a list data structure and sent to a REST API as json, for example.

1 Like