Contact Form Creating Duplicate Documents
-
Hi, I’m using Contact Form 7 to add documents to a Firebase Firestore database. It works fine. However, after successfully submitting and creating one entry, if I try to submit an empty form, a new document identical to the previous one will be added. It seems that the system remembers the values from the previous request so a new document is created even the form is empty, and I can only update them by inputting new data or reloading the page.
I wonder is there a way to solve this problem? Thank you.
[hidden collectionName "collectionName"] [hidden databaseType "firestore"] <label for="answer">Question</label> [text answer] [submit id:if-data-submit "Submit"]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Contact Form Creating Duplicate Documents’ is closed to new replies.