Cannot set dataset action to delete

You can;t use a Wix Submit button to do that as it will only do what it says and Submit!

If you want to delete something from a dataset, then you will have to use code along with a normal button.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#remove

Emaple in previous forum post here.
https://www.wix.com/corvid/forum/community-discussion/remove-delete-item-from-dataset-with-code