I am creating a form in Wix editor. However, I want to limit the number of submission by each site member on each day. Let’s say, 1 submission per day and per member. How to do it with Wix code or any other method?
One possible way would be to create a database collection that logs the activity of each user. Each time a user submits a form, the submission is logged. If the user attempts to submit another form, you then query the log collection to see if the user already submitted a form on that day. If you decide to limit a user to 3 submissions a day, just check the query to see the user submitted 3 or fewer forms. If so, then allow them to submit another.
This example here…
https://russian-dima.wixsite.com/meinewebsite/oneway-ticket
…could be interessting for you.
It should reflecting exactly what Yisrael proposed you.
Thank you! I already have a collection that can log the data submited by users. However, I am completely new with the WIX code, so I don’t really understand how to query the log and set the limit of submission. Could you provide more details please?
@manhob888 See the documentation on using Wix Data with Corvid and play around with the various Data examples .