Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Check form submissions for duplicative entries based on email #18

@jacobsfletch

Description

@jacobsfletch

This needs to be form-specific and not apply to all forms. To do this, add a beforeValidate hook to the formSubmissions collection via the plugin config. In here, check the form type, and if it should use a unique email, search all form submissions of the same type and same email. If a duplicate is found, return a message and do not continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions