Allow one email/IP form submission | Community
Skip to main content
RaulEr
Level 4
July 14, 2022
Solved

Allow one email/IP form submission

  • July 14, 2022
  • 1 reply
  • 1209 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

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).

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
July 14, 2022

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).