How can I save text of textbox with a button click?

make a list with the texts from the textBoxes and set it to the ListView.Elements.

Kindly watch this short video and guide me how can I show these textbox texts in listview.

Do you want every time you click a "Save" button to save the contents of the textBox as a new item in the list and then show it in the spinner?

Yeah I want that kindly guide me

Thanks for giving me this information I will try it now

Search this board for a To Do List app.

If I reset application data then textbox texts will remain in tinydb or it will erase also

If by reset you mean restart the app, yes, the data stored in tinyDB will remain there.

And how can I delete an item from list

Read the list from tinyDB, remove the item from the list, store the list again in tinyDB. Set ListView to the modified list.


Sir kindly watch this short video i created this application with the help of listview and clouddb..I added items in listview and stored data in clouddb...Kindly give some information about how can I make like this application without any clouddb or tinydb...is it possible

TinyDB and/or CloudDB are necessary if you want to store persistent data in the app. So, depending on what you want to do, you can do it without cloudDB/tinyDB or not (you have other storage alternatives....firebase, googleSheet).

1 Like

Thanks :+1: and one last thing give me an idea about button lock with timer after clicking it..if a user click on a button so button will disable for some moments of time with unhackable timer...

image

Through these blocks if I restart application then button is automatically enabled timer is not saved...I want if I restart an application after closing it the button remain disable and timer should run

At the moment I'm winning on shown blocks: 3-0... How about you try it and if you get stuck on something, ask?


I used these blocks....it works well but the timer is hackable...how I can prevent it

As we can see from your blocks, you are using Kodular...
And you already asked the same question there and already got a response ..

What about you starting to try something?
And if you got stuck, ask in that thread and provide a screenshot of your relevant blocks

Taifun
PS I will close this one