Title: Remove submit button once submitted
Last modified: January 31, 2017

---

# Remove submit button once submitted

 *  [stdrntn](https://wordpress.org/support/users/stdrntn/)
 * (@stdrntn)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-submit-button-once-submitted/)
 * I followed this great article ([https://cfdbplugin.com/?page_id=904](https://cfdbplugin.com/?page_id=904))
   so when a user submits a form, they can’t submit again which works like a charm.
   But I was also hoping to find a way of hiding the ‘submit’ button just for that
   user after they’ve clicked it that one time. Is this possible?
 * 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-submit-button-once-submitted/#post-8722551)
 * That is a questions for Contact Form 7.
 *  Thread Starter [stdrntn](https://wordpress.org/support/users/stdrntn/)
 * (@stdrntn)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-submit-button-once-submitted/#post-8722852)
 * Apologies if I’m mistaken, but this request would require CFDB in the same way
   the link above does. The submit button would need to be linked into the CFDB 
   to check if that user has submitted the form in the first place. I’m aware it’s
   probably a fair bit of work, but just incase there is a snippet which I can add
   into the filter I’ve used above! 🙂
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-submit-button-once-submitted/#post-8723037)
 * CFDB does not display the form and it cannot control displaying anything on the
   form. The example makes use of a CF7 hook that allows CFDB to signal that the
   submission is not valid. But CF7 manages the display of the form. So the question
   is for CF7: is there a way to signal it to stop displaying a button? I’m pretty
   sure the answer is no, but you would have to ask CF7 people.
 *  Thread Starter [stdrntn](https://wordpress.org/support/users/stdrntn/)
 * (@stdrntn)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/remove-submit-button-once-submitted/#post-8724160)
 * Okay, thank you – I will see if they can help! Though the only way it can know
   if the user has already submitted is via cfdb, but hopefully there is enough 
   existing info in the hook I’ve implemented to try and achieve what I require.
 * Thanks so much for your time, have a nice day Michael!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove submit button once submitted’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [stdrntn](https://wordpress.org/support/users/stdrntn/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/remove-submit-button-once-submitted/#post-8724160)
 * Status: not resolved