I'm don't know much about code and I don't understand the Corvid API reference that much. So I was hoping someone could give me the code for this problem that I have.
This is the situation:
On an item page there's a button. When someone clicks that button, the field named 'confirmed' (boolean) needs to be set to true. When someone clicks that button again, the field needs to be set to false.
After clicking the button the user needs to be directed to a different page (/confirmed)
PS: If you need some more information to give me the code, please tell.