I’m building a system for tracking RSVPs for an event and everything is going great so far. I’m creating frontend-only users than can submit a form which then updates a structure field. I’d like to implement a check so that if a user has already submitted the form, they cannot again when they log in (do not show the form at all), but I can’t seem to work it out.
The usernames are being written to the YAML as part of the form submission, is there a way I can check the current active user against submitted usernames? Or is my thinking totally wrong on this?
I am using this recipe for the form submission: https://getkirby.com/docs/cookbook/creating-pages-from-frontend
Thanks for any help!