Aug 23
iFrame should send message on duplicate response
Right now, my form uses Prevent duplicate submissions to block duplicate responses. Users primarily respond to this form through an embed on my website (iframe).When a user successfully submits the form, Tally sends a postMessage event to the parent website, which lets my app know that the form was successfully completed.However, when a user has already submitted the form (for example, from another device), Tally's embed displays the "Form submission not accepted" screen:It looks like you have already filled out this form. To prevent duplicate entries, only one submission per respondent is permitted.In this case, the submission request returns a 400 response, but Tally does not send any postMessage event to the parent website.I'd like Tally to provide a corresponding event/message for this case, similar to Tally.FormSubmitted, for example:{
event: "Tally.FormSubmissionRejected",
payload: {
formId: "xxxxxx",
reason: "duplicate"
}
}
This would allow the parent website to recognize that the user has already completed the form and display its own "You've already completed this survey" screen instead of leaving the Tally rejection screen inside the iframe.Ideally, this event would be sent specifically when Prevent duplicate submissions rejects the submission because the respondent has already submitted the form.
Pending
Hi there! Thanks for the feature request — and for explaining the use case so clearly. We love hearing from you. ✌️