Preventing Duplicate Form Submissions

Hi!
Thanks for your help.
I’m new to coding and this is the first time I have used a query.

What would I need to change the query to so that it is per member?
How would I go about concatenating the member._id?