• Resolved panserbjornes

    (@panserbjornes)


    Hello,

    I have built a Contact Form where I′m trying to make the submit button to only appear when the user types a certain word in a specific field (kind like a human verification).

    But the Submit button is always visible, even if its visibility conditions are set to only show when the mentioned field has a specific value. Those visibility conditional logic work fine for any other fields in the Form, except for the Submit Button.

    I have already tryed debbuging by deactivating every other plugin and Themes, but had no success. I even tryed to instal only the Forminator Plugin in a Brand new instalation of WordPress, and got the same result.

    Please, tell me if I am doing something wrong.

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @panserbjornes,

    Unfortunately, there is a bug that’s causing the issue, our team is already aware of the issue and this will be fixed in the upcoming release.

    You’ll have to revert to the previous version of Forminator ie v1.14.10.1 if you are looking to get the visibility condition to work for the submit button for the moment.

    You can download the previous version via the following page under the “PREVIOUS VERSIONS” section:
    https://www.ads-software.com/plugins/forminator/advanced/

    Sorry for the inconvenience due to this.

    Kind Regards,
    Nithin

    Thread Starter panserbjornes

    (@panserbjornes)

    Hi @nithin,

    Thank you for the reply!

    Ok, I’ll try reverting to the previous version. If I do that will it be possible to keep the Forms i have already created? (I’ve made some changes using CSS)

    Do you have a date for the next release?

    Thanks!

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @panserbjornes,

    If I do that will it be possible to keep the Forms i have already created? (I’ve made some changes using CSS)

    All the changes should be intact. So it shouldn’t be an issue. But, would highly recommend you have a backup ready before reverting the plugin.

    However, I think we have a workaround for this, before reverting please give this code a try:

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

    I gave a quick test in my system and it seems to work. You can add the above code as a 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

    Do you have a date for the next release?

    I’m afraid, there isn’t an exact ETA that I could share at the moment but can confirm the issue is already being looked into and hoping it would be soon.

    Best Regards,but
    Nithin

    Thread Starter panserbjornes

    (@panserbjornes)

    Hey @nithin,

    Thank you very much for your help on this!

    I’ve already made the rollback, and it’s working perfectly! But I may try your suggestion soon (maybe inserting the code with the Code Snippets plugin).

    Looking forward to the next release!

    As a suggestion, it would be awesome to have a custom captcha field (could be a very simple one) on the free version of Forminator. Because it’s something every WordPress form needs to have, right?

    Thanks again for all the help!

    Hi @panserbjornes

    I hope you are doing well.

    As a suggestion, it would be awesome to have a custom captcha field (could be a very simple one) on the free version of Forminator. Because it’s something every WordPress form needs to have, right?

    We do have the Google ReCaptcha option:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#recaptcha-field

    Another security feature is the honeypot protection
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#behavior-forms

    Our team do have plans to integrate Hcaptcha too.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hey there.

    Seems I forgot to switch my account in the previous reply ??

    Forminator integrates to some antispam plugins as well:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#other-integrations

    Best Regards
    Patrick Freitas

    Thread Starter panserbjornes

    (@panserbjornes)

    Hi Patrick!

    Nice suggestions!

    I have Honeypot enabled, but spans keep coming through. And I’m avoiding Google Captcha for now.

    hCaptcha in the other hand, would be nice to have! But I still think the possibility for a custom captcha field (like “type this word” or “sum these numbers”) is the best scenario for most users.

    But I know you guys already offer a lot more than one could expect for a free plugin! I’m a fan!

    Keep up the awesome work!

    Thanks!

    Hello. Bonjour tour le monde,

    I have been using Forminator for a few weeks now. I am very satisfied. It’s a wonderful working tool (five stars, of course, since there aren’t six stars).

    I had found the same problem with the Submit button. Solved in two minutes with your piece of code.

    Thank you very much and congratulations to the whole team.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @aralar

    We are happy to hear you like the plugin and support, we work hard to provide the best experience.

    Best Regards
    Patrick Freitas

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Submit button visibility not working’ is closed to new replies.