ldannyl
Forum Replies Created
-
Hey, I am so sorry for the late reply.
This code works perfectly!
Really smooth.Thank you so much!!!
I really appreciate your work guys!!!
Well done and great support and help!Best regards
DanielHi Adam,
thank you for the modification, but unfortunately it is not working.
Frustrating 🙈Don´t know what else to tell you that might help.
Best regards,
DanielHi Adam,
I just uploaded the file and its not working at all.
Don´t know what is wrong but the file.<?php add_action( 'wp_footer', 'formi_next', 99 ); function formi_next() { ?> <script> (function($) { $(document).ready(function() { setTimeout(function() { $('.forminator-custom-form').trigger('after.load.forminator'); }, 100); $(document).on('after.load.forminator', function(e, form_id) { var next_button = document.querySelector('.forminator-button-next'), click_event = new CustomEvent('change_evt'), clickable_elements = document.querySelectorAll('.next-on-click'), checkboxes = document.querySelectorAll('.next-on-click input[type="radio"]'); clickable_elements.forEach( clickable_element => { clickable_element.addEventListener('click', wpmudev_clickables_event_callback) } ) function wpmudev_clickables_event_callback() { if (typeof(next_button) != 'undefined' && next_button != null) { checkboxes.forEach(checkbox => { checkbox.addEventListener('change', wpmudev_change_evt_callback) }) } } function wpmudev_change_evt_callback(e) { if (e.currentTarget.checked) { next_button.click(); } } }); }); })(jQuery); </script> <?php }(if the code is not showing properly, here is the .php File via wetransfer again: https://we.tl/t-Whv9KsVTii)
I followed step by step what you told me to do.
Thought it might be a problem with the access right?
Default is 604, tried with 644 but also not working. (don´t know if that is ok with 604 or not?)Thank you again!
Best regards
DanielHi Nebu John,
I made one screen record with chrome and one with safari browser, both with console logs.
So the issue only occurs on the first and second step, after that everything works fine.I hope that one helps.
Thank you so much!!!!
best regards
DanielHey Nebu John,
sorry for the late reply.
It was working for the past 20 min but now again, it fucked up.
After I added some more steps to the form, it just stopped working.So unfortunately that was not the problem.
attached you can find the actual imported form.
https://we.tl/t-rcdkQFq3TbThank you so much, really appreciate your help!
Thank you for your quick reply.
The exported form (hope wetransfer is ok):
https://we.tl/t-YbOzEsK61eThe Code:
https://pastebin.com/cSA9YhieI entered the code with Elementor Pro “Custom Code” to all 3 options and also tried to disable elementor plugin and installed a Code Plugin to add codes to header and footer. Tried both, in header and footer as well.
Hope you can get all you need for my problem.
PS: the problem occures just sometimes. Deleting Cache and refreshing is not helping anything.
I can´t figure out when the code is actually working and when / why not.