Title: Remove submit button
Last modified: September 14, 2020

---

# Remove submit button

 *  Resolved [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/remove-submit-button-2/)
 * How do I remove the submit button with php to no only hide it?
 * It’s not always you have to submit something. And There is no option in the editor
   to remove it from the form.
 * Any php snippet to sort it with for now?

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

 *  Plugin Contributor [WPManageNinja](https://wordpress.org/support/users/wpmanageninja/)
 * (@wpmanageninja)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/remove-submit-button-2/#post-13401567)
 * You can use the following code snippet:
 *     ```
       add_filter('fluenform_rendering_field_html_custom_submit_button', function ($html, $data, $form) {
                   if($form->id == 111) {
                       return ''; // return no html for form id 111
                   }
                   return $html;
               }, 10, 3);
       ```
   
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/remove-submit-button-2/#post-13401628)
 * Great, thanks!
 * But it does not seem to work for me Changed to the form ID I have but still appears.
   No cache issues already tested that.
    -  This reply was modified 5 years, 8 months ago by [Rookie](https://wordpress.org/support/users/alriksson/).
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/remove-submit-button-2/#post-13427347)
 * Any ideas?
 *  Plugin Contributor [WPManageNinja](https://wordpress.org/support/users/wpmanageninja/)
 * (@wpmanageninja)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/remove-submit-button-2/#post-13427353)
 * Please submit a support ticket
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/remove-submit-button-2/#post-13427822)
 * The ticket is here, this is a feature in free would reuqest a feature to be able
   to remove it in the editor. But until then I wish to do it in one way or antoher.

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

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

 * ![](https://ps.w.org/fluentform/assets/icon-256x256.png?rev=3354580)
 * [Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder](https://wordpress.org/plugins/fluentform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluentform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluentform/)
 * [Active Topics](https://wordpress.org/support/plugin/fluentform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluentform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluentform/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rookie](https://wordpress.org/support/users/alriksson/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/remove-submit-button-2/#post-13427822)
 * Status: resolved