• Resolved Mark

    (@kramgnolruf)


    Hi,

    Prior to the latest version of Forminator, it was possible to hide/display the submit button conditionally e.g. hide the submit button until a checkbox is checked. This is no longer the case. Any ideas?

    Regards,

    Mark

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

    (@httpscore)

    Hi,

    I am using the newest version and it works for me. But I had some situations, where it did not work, as when I changed a condition or the type of field. Reloading helped every time.

    Greetings

    SlypigPro

    (@slypigpro)

    It also did not work for me. I rolled back to the previous version of Forminator (1.14.10.1) and it is working again.

    Thread Starter Mark

    (@kramgnolruf)

    @slypigpro Yep, that’s all I can do at this stage too.

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @kramgnolruf,

    Sorry for the delay in getting back to you. Unfortunately, there is a bug in 1.14.11 that’s causing the issue you have stated.

    You can either revert to the previous version as stated by @slypigpro to get it working or use the following snippet for now in the latest version temporarily unless this is fixed in the next release.

    <?php
    
    add_filter( 'forminator_render_button_markup', function( $html ){
    	$html = str_replace('class="forminator-field"', 'id="submit" class="forminator-field"', $html);
    	return $html;
    } );

    The above code can be added as mu-plugins. Please check this link on how to implement the above code as a mu-plugins:
    https://premium.wpmudev.org/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    Kind Regards,
    Nithin

    Thread Starter Mark

    (@kramgnolruf)

    Cheers.

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

The topic ‘[1.14.11] Conditional submit button’ is closed to new replies.