Hi @ji_shu
Thanks for reaching out & welcome to Retool! Currently, chat gpt can be super helpful for code snippets for Retool, but I've found it's not great for knowledge about Retool components.
1). You can access the form data under the form name (ex form1[i].data
):
2). If you want to manage the length of the listview programmatically, you can follow this example. Essentially, you can use temporary state, which can be written over, to determine the list length. Let me know if questions come up!
3). Do you mean delete the record from your underlying database? If so, you could add a button to the listview that triggers a delete query for that dynamic list item. The example linked above in #2 also has a delete functionality!
Please let me know what questions come up!