Is it possible to validate distinct email addresses?

  • Profile Image
    Isabell_Zitzelsberger
    Asked on October 31, 2021 at 08:41 PM

    We have a competition entry form with fields for up to six people per entry - we require that all email addresses entered on the form are distinct (ie we need a separate email address per person) - is there a way to validate that all entered email address are distinct before allowing submission...?

  • Profile Image
    Nina Japitana 
    Answered on October 31, 2021 at 09:21 PM

    Hi Isabell_Zitzelsberger,

    I understand the importance of this. If you need a way to verify an email address by using traditional email verification methods, you can do so with the use of Jotform Integrations and Widgets.

    There are two case scenarios:

    1. Email Verification before form submission – Users will verify their email prior to submitting the form.

    2. Email Verification after form submission – Users will receive an email after form submission and their submission will only be verified if they received that email.

    Here is a guide for you.

    VERIFICATION BEFORE SUBMISSION

    Step 1 – Use the Email Validator Widget.

    What does this widget do? It adds a field to your form with 2 elements – A textbox and a button.

    1635729498_617f405a5cc54_

    Users would type in their email address, click the Verify Email button, then wait for the verification email to arrive in their inbox. A unique verification code will be sent that is valid for 24 hours and can be used only once.

    1635729549_617f408dabbdd_


    VERIFICATION AFTER SUBMISSION

    Step 2 – Use the Submission Verifier App.

    So, what does this app do this time? Instead of doing the validation right before users submit the form, this app will allow your users to submit the form, regardless if their email address is valid or not. And only after submission should they receive a unique link that will be used for the verification process.

    This link can be incorporated within your Autoresponder Email. From the user’s perspective, all they need to do is click the link to get verified. And the only way they’d be able to do that is if they entered a valid email address that they own to begin with.

    You can check this article for a more detailed guide- https://www.jotform.com/help/427-how-to-verify-an-email-address-before-or-after-form-submission/


    I hope this helps! :)

  • Profile Image
    Laura_L
    Answered on October 31, 2021 at 11:18 PM

    Hi Isabell,

    It seems that Nina has already answered your question.
    Please let us know if you have any further questions, and we are happy to help!

  • Profile Image
    Isabell_Zitzelsberger
    Answered on November 01, 2021 at 06:24 PM

    Hi, sorry, I wasn't asking about email verification - rather I need to make sure that the multiple email addresses entered on the form are distinct - we need to collect individual emails for each person, so if there are emails the same we should not validate/submit the form....

    1635805349_618068a54651e_Screen Shot 202

  • Profile Image
    Laura_L
    Answered on November 01, 2021 at 07:42 PM

    Hi,

    Apologies for the confusion, and thank you for the further details.

    You can do this by using Conditional Logic. You can create a logic that checks if the field values are equal, and if they are, then hide the submit button.

    It seems that you have already applied this logic on your form:

    1635810141_61807b5dd3033_conditios.png

    If you would encounter any issues or the logic would not work correctly, please let us know.