Hi
I am using a marketing page (landing page) for external users to subscribe for newsletter.
currently, i applied a unique key to the email address in the Contact entity. however, when a user tries to subscribe with the same email, the previous record entered with the same email is overwritten instead of throwing an error.
1. how i can prevent updating existing records for the same email and throw an error instead.
2. Client wants to forward to the new error page to add extra details if a record already exists with the same email address. how i can do this.
3. If the user successfully saves the record, they want to forward to another page which will display a few paragraphs of information with the success message. How i can do this
Thank you,