Hi all,
A little knew to Bubble and I have a question but in all honestly I am not sure if it can be done.
So I have a form inside a RG in the frontend that collects data, A lot of the information is on multiple choice cards. I am saving the results based on someone clicking on a card and then saving the results to the question in a custom state. On selecting the save button the information is saved into the the DB.
I have conditions that highlight if the card is selected on clicking the card:
- On saving the information to the custom state
- When the information is saved into the database
This is done in case the user needs to double back and make changes.
My problem
I have purposely chosen to save the information to a custom state instead of directly into the database for UX purposes. I now want to delete an entry on clicking a card in the backend, easy enough to do in the frontend.
But cannot work out how to do this.
I have tried adding a delete thing at the end of the backend and also I have a new backend workflow that focuses on deleting the item that is selected in the backend but nothing works.
Current set up
On click I set the custom state (list)
On clicking save the backend workflow is scheduled.
Backend workflow: Add to database
Delete backend workflow
Where am I going wrong. BTW adding to the database is fine I just want to remove from the database.