I am trying to edit an entry automatically when you press a button. Is there a way to do this?
A bit more detail: I have listed up a few entries, each with their own button. When I press the button on a specific entry, I want the currentUser to be added to the User Field of that entry.
Currently I have managed to get this semi-working with a form where the user can edit the entry through input fields etc., changing their value, then submiting (as outlined under Entry Form in the docs). This is the prossess I want automated. When you press the button in the front-end the entry is edited with values set in the code and submitted.
Thanks!