SOLVED

Allow one email/IP form submission

Go to solution
RaulEr
Level 3

Allow one email/IP form submission

Hi community!

 

We are creating a form to allow users to ask a question to the company, however, we want to allow only 1 question per person. Is there a way to check if the email or the IP already submitted the form?

 

Regards,

Raul

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Allow one email/IP form submission

You definitely do not want to use the IP address. A lot of people are back at the office! Plus shared IPs on mobile, etc. and you can even have multiple users in the same household.

 

Now, if you want to only allow one Email Address to populate the field, the easiest way to do this is to Block Field Updates on the field. The end user won’t know you didn’t update the field, though on the back end their update will be silently rejected.

 

If you require that the end user know that you rejected their second attempt, that would require some quite fancy JS (poll a hidden Thank You page to see if they already had a value, then pop up an alert).

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Allow one email/IP form submission

You definitely do not want to use the IP address. A lot of people are back at the office! Plus shared IPs on mobile, etc. and you can even have multiple users in the same household.

 

Now, if you want to only allow one Email Address to populate the field, the easiest way to do this is to Block Field Updates on the field. The end user won’t know you didn’t update the field, though on the back end their update will be silently rejected.

 

If you require that the end user know that you rejected their second attempt, that would require some quite fancy JS (poll a hidden Thank You page to see if they already had a value, then pop up an alert).