Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Hey, you should probably trigger a change event on the control after the form is loaded, something like this:

    jQuery('[name="menu-servizio"]').change();

    Thread Starter davemktg86

    (@davemktg86)

    Thanks!
    but where should I add this code?

    Plugin Author Jules Colle

    (@jules-colle)

    The moment your form is loaded. The preferred way to add it is something theme specific. Best to contact the theme author.

    An alternative but very dirty solution however, is to trigger the change event every 2 seconds like this:

    <script>
    window.setInterval(function(){
      jQuery('[name="menu-servizio"]').change();
    }, 2000);
    </script>

    You could add this code right before the closing </body> tag in your theme’s footer.php file.

    Keep in mind that this is an extremely dirty hack, but in case you have absolutely no idea about javascript and proper web development, this should do the trick for you.

    Thread Starter davemktg86

    (@davemktg86)

    hi, I’m sorry for the wait.

    I contacted theme author. They said there is a compatibility issue with select2.js library, without this plugin works; they asked me to clarify if this feature works with this library… can you help me?

    thanks

    Plugin Author Jules Colle

    (@jules-colle)

    the plugin does not include the select2.js library, so I’m afraid I can’t help you with this.

    Thread Starter davemktg86

    (@davemktg86)

    Hi! thanks for your support!
    with this library disabled the plugins work properly!!
    Thanks

    ps: can I modify my first message to remove my site links?

    Plugin Author Jules Colle

    (@jules-colle)

    I cannot edit any posts on this support forum. You will need to get in touch with a moderator in order to have your messages deleted. But I know from experience this is a pain, so it’s best not share any links you don’t want to be public in the first place. Good luck!

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

The topic ‘Dynamic fields and conditional fields problem’ is closed to new replies.