• Resolved brian728

    (@brian728)


    The default click will be gone if the checkbox change from invisible to visible.
    This issue also occurs in radio button.

    Please help…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @brian728 !

    I hope you’re doing great today!

    Can you elaborate a bit more on the issue you’re having? Please describe the steps you’re taking and what’s the expected result and what actually happens.

    Also, if possible, please share a link to an example page with a form where this issue is occurring.

    Warm regards,
    Pawel

    Thread Starter brian728

    (@brian728)

    Please find my test code at https://pastebin.com/6sTgQUPP.

    The option 1 & option 2 of checkbox-1 are checked by default.
    If I hide the checkbox-1 and then show it again, all checked are gone.

    I assume that the checkbox-1 should reset to the default setting after it’s hidden & shown…

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @brian728

    I’m sorry for the late response here and I really appreciate the cooperation and the shared form export. I’ve already pushed that to our developers so they can review and fix it in an upcoming release. If there’s any workaround that we could be sharing before that, we’ll keep you posted here.

    Thank you,
    Dimitris

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @brian728

    Here is a PHP file that you can use as a MU plugin:
    https://gist.github.com/wpmudev-sls/6ccb491fca0ad48ba596ab5e3e8eafe8

    This will take care of this issue until it is resolved in the plugin itself with a future update.

    Here’s how to install a MU plugin:
    https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    Also keep in mind the following section in code:

    // uncomment if you want to use this snippet just for specific form, and add the form id here.
    // #forminator-module-{id}.
    // if ( ! jQuery( '#forminator-module-15171' ).length ) {
    // 	return;
    // }
    // Replace your show/hide value with your own.
    const SHOW_VALUE = 'Show'; // Show value.
    const HIDE_VALUE = 'Hide'; // Hide value.

    As is it will still work for your form though.

    Thank you,
    Dimitris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Default Not working’ is closed to new replies.