Limit entries per email
I made a form for a contest and I would like to limit the entries per email.
- Users would be able to submit 1 entry in 24 hours. After the first entry, I want to display a error "You already participate today"
- Users can submit up to 24 times. After that, I want to display a error something like "You have reached the maximum entries for this contest"
Is there any setting for this or it has to be custom code? If is code and anyone can help me out, it would be appreciated.