onclick - submit data and reload the page - how to?

I’m also looking for something similiar

  • i have done the above code and am still having issues even after I replace the dataset with my own dataset

=> is the part of the code with the error message, any suggestions? Thank you in advance! Any help is appreciated!