Title: Conditional logic not working for submit button
Last modified: May 18, 2021

---

# Conditional logic not working for submit button

 *  Resolved [teatall](https://wordpress.org/support/users/teatall/)
 * (@teatall)
 * [5 years ago](https://wordpress.org/support/topic/conditional-logic-not-working-for-submit-button/)
 * I remember it used to work for the submit button when you set conditional rules
   to it. However, this seems to be no longer working for the latest version (1.14.11).
   Could you look into it?

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

 *  [valdiju](https://wordpress.org/support/users/valdiju/)
 * (@valdiju)
 * [5 years ago](https://wordpress.org/support/topic/conditional-logic-not-working-for-submit-button/#post-14454736)
 * Hi, I am surprised too, before the MAJ the conditionnal for show the button worked.
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [5 years ago](https://wordpress.org/support/topic/conditional-logic-not-working-for-submit-button/#post-14457216)
 * Hi [@teatall](https://wordpress.org/support/users/teatall/) and [@valdiju](https://wordpress.org/support/users/valdiju/),
 * Our developers are already look into this issue.
 * In the meantime, can you try creating new [mu-plugin](https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins)
   and paste this code inside it as a temp fix until new version is released:
 *     ```
       <?php
       add_filter( 'forminator_render_button_markup', function( $html ){
       	$html = str_replace('class="forminator-field"', 'id="submit" class="forminator-field"', $html);
       	return $html;
       } );
       ```
   
 * Cheers,
    Predrag
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years ago](https://wordpress.org/support/topic/conditional-logic-not-working-for-submit-button/#post-14498429)
 * Hi [@teatall](https://wordpress.org/support/users/teatall/)
 * I hope you are doing well and safe!
 * We haven’t heard from you in a while, I’ll mark this thread as resolved.
 * Feel free to let us know if you have any additional question or problem.
 * Best Regards
    Patrick Freitas

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

The topic ‘Conditional logic not working for submit button’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/conditional-logic-not-working-for-submit-button/#post-14498429)
 * Status: resolved