Skip to main content

Hi,


Am looking for custom script to limit the form subscriptions so that an email can only be used once to subscribe through unbounce form.


If anybody can guide me in the right direction it would be very much appreciated.


Pierre

Hi @pierrecleaud,


You are correct that you would need a custom script to accomplish what you want.


You actually have 2 options:



  1. Use the browser’s localStorage to record form submissions and deny any future submissions if the email matches.



  • The downside to this is that if your visitor opens up your landing page from a different browser/device they would still be able to submit the form.



  1. Use the Unbounce API to look up previous emails that have been submitted and deny future submissions.



  • The downside here is that you would need a backend script to authenticate with the API and perform the query.


Hope this points you in the right direction.


Best,

Hristian


Thank you very much for the reply.

Have a nice day.

Pierre


Reply