Dropdown and JavaScript issue
-
Downgraded to 1.14.9 because your dropdown elements generates a JavaScript issue and a standard select is shown.
Kind regards.
-
Hi @artprojectgroup,
The latest release of Forminator v 1.14.10.1 should have resolved issues with the dropdown. Just to be sure, you tested it with v1.14.10 or v1.14.10.1? The v 1.14.10.1 was released 7 days ago.
If you could confirm and replicate the issue with the latest update, could you please share an export of the form, so that we could further check what might be causing it?
You can use Google Drive, Dropbox or any such cloud services to share the export. Looking forward to your response, so that we could help get this resolved asap.
Kind Regards,
NithinSorry for the delay here.
I am afraid the link expired.
But from the description, it sounds like a reported bug.
Do you have two forms on the same page?
Is it possible to send the URL where you have the problem?
Best Regards
Patrick FreitasYes there’s two forms, one visible in the web, and other one in a modal box (footer: Newsletter).
Kind regards.
Thank you for the information.
Yes, it is a reported issue and our developers are already working to fix it.
The problem happens when there are two forms in the same page which has similar fields names, by name I mean the id like {select-1}
A temporary solution:
Please add this code as a mu-plugin:
<?php add_action( 'wp_footer', function(){ ?> <script> window.FUI = window.FUI || {}; window.FUI.select = function(){ return false; }; </script> <?php }, 21 );
https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
Find the fields that are duplicated in the forms, for example, if Form 1 and 2 have {select-1} duplicate the field on one form and then remove the old field, making form 1 keep select-1 and field to select-2 or any extra field name which doesn’t repeat across two forms in the same page.
https://monosnap.com/file/CxMic9xxN2AQMrAs0QzHiXwhXg5pdK
This should prevent the issue.
Let us know the result you got.
Best RegardsCreated the plugin and changed all the fields, but it still does not work.
Downgraded again.
Kind regards.
I hope you’re well today!
I’m sorry to hear that this patch didn’t work for you.
However, there’s been new update released just today (version 1.14.11) that contains further fixes, including yet another fix related to select-type fields (jQuery errors caused by it). Have you tried this one as well?
If not, it would be great if you could give it a go and let us know if it fixes the issue for you or it still doesn’t.
Kind regards,
AdamSorry but after try the latest version the issue isn’t fixed.
Kind regards.
Hello there @artprojectgroup
Could you please export both forms and share them via a service like Dropbox or Pastebin?
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-exportThank you,
DimitrisThank you for using Forminator. We are going to close this ticket for now because we have not heard from you in a while. If you still need support we can reopen the thread.
Cheers,
PredragThank you for the forms.
I imported both forms and embedded them on the same page but I didn’t have any issue.
https://monosnap.com/file/BQQZFbv2ZWRDkZK4gATYnqTPb6Lfx1
Is it possible to update the plugin to the latest version and let us know?
We had some cases where the website was calling the Form CSS from HTTP which blocks the style.
Best Regards
Patrick FreitasI hope you are doing well and safe!
We haven’t heard from you in a while, I’ll mark this thread as resolved.
Feel free to let us know if you have any additional question or problem.
Best Regards
Patrick FreitasSorry but we still have the same problem after upgrading to the latest released version 1.14.11.
Kind regards.
Sorry to hear the issue persists,
Just to confirm do you still see the JavaScript issue?
I checked our internal task and found the issue returned in 1.14.11, we are adding a fix expected to 1.15.1 if all development and tests work fine.
In case the JS error persists we can take another look at the provided solution another alternative is using the working version until the fixed version is released.
Let us know the information.
Best Regards
Patrick Freitas
- The topic ‘Dropdown and JavaScript issue’ is closed to new replies.