Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Carrie Tennick 1 post 71 karma points
    Apr 11, 2023 @ 14:14
    Carrie Tennick
    0

    Stopping multiple form submissions

    Hi,

    We've been having a bit of a problem with hoax leads submitting their details through our forms. As a result, we're looking at some ways of stopping them submitting multiple forms.

    I'm not a developer so would appreciate your expertise here. Is it possible to create a page in Umbraco that would only show to people who have already submitted a form (using a certain specific identifier like IP address or CRM ID) when they try to submit another? We have development resource so we could get their help in building it but we need to know initially if this is something that's possible within Umbraco.

    Thanks

  • Dhanesh Kumar MJ 165 posts 521 karma points MVP c-trib
    Apr 11, 2023 @ 15:32
    Dhanesh Kumar MJ
    2

    Hi Carrie,

    Yes, it's possible to create a page in Umbraco that only shows people who have already submitted a form using a specific identifier like an IP address or CRM ID or any Unique identifier (IP is some sort of personal data, so needs to be aware of GDPR or other privacy rules). Here's a high-level overview of how you can achieve this:

    1. Identify the specific identifier that you want to use to track form submissions, such as IP address or CRM ID or any other unique identifier).
    2. Set up a way to store this identifier when a user submits a form. This could be done using a custom database table, a cookie, or another form of local storage.
    3. Create a new Umbraco page that will be displayed to users who have already submitted a form using the specified identifier. This page could contain a message informing the user that they've already submitted a form, or it could redirect them to another page.
    4. Add some custom code to your form submission process that checks whether the user has already submitted a form using the specified identifier. If they have, redirect them to the new page you created in step 3. If they haven't, proceed with the form submission as normal and store the identifier.
    5. If there are members on the website or any sort of logins using, then protect the page that has the form, so that way, only the login user can access the page and once the user logged-in then we will get the unique identifier such as Id, email or other unique identifiers, so we can check whether the logged-in user is already submitted or not !.

    Regards :)

Please Sign in or register to post replies

Write your reply to:

Draft