Submit button visibility rules don’t apply
-
Hi guys,
I’d like to hide the submit button on page 4 when “locataire” option on page 1 and/or “un appartement” on page 2 are selected.
So far all my conditions work fine, (on page 4 when those conditions are met, contact infos are hidden and “Sorry” message is shown) except for this one ..
Do you know how to get it to work ?
Thank you !
The page I need help with: [log in to see the link]
-
Hi @nicowob123
I hope you are doing well today.
Could you export your form, upload it to google drive or dropbox and share a link in your next reply so that we could review this fully for you?
Kind Regards,
KrisHi, sorry i forgot to uncheck the require mail option, here’s the good link
Hi guys ! have you been able to check my export ?
Hi @nicowob123,
Sorry for the delay in getting back to you.
To investigate this issue further, I exported the form to a test website. The configured visibility rules appear to be accurate. However, there is a bug within the plugin: the visibility rules on the submit button of a paginated form are not functioning as intended.
A fix for this will be released in one of our upcoming updates. I am extremely sorry about the inconvenience caused by this.
Kind Regards,
Nebu JohnHi Nebu John,
No worries, glad it helped spot a bug. Would there be by any change a way to temporarily fix this with some custom Js ? I tried this but as i’m terrible at Js , it obviously doesn’t work.
var elementHtml2 = document.getElementById('html-2'); var submitButton = document.querySelector('button#forminator-submit'); if (elementHtml2 && elementHtml2.classList.contains('forminator-hidden')) { if (submitButton) { submitButton.style.setProperty('display', 'none', 'important'); } } else { if (submitButton) { submitButton.style.setProperty('display', 'block', 'important'); } }
Thank you for your help !
Hi @nicowob123,
Hope this message finds you well.
Our team has escalated the matter and marked it as a bug in our system for immediate attention. Unfortunately, I was also not able to find a workaround for this and it seems it just needs to be fixed at the plugin’s core code.
I understand this situation may be frustrating and I appreciate your understanding. Please be assured that our team is dedicated to resolving this issue and I will ensure to communicate any updates or progress as soon as more information becomes available.
Thank you for your patience and understanding.
Best regards,
LauraHi @nicowob123,
I wanted to provide you with an update on the current issue. We have confirmed that it is indeed a bug specifically related to paginated forms. Unfortunately, resolving this issue requires updating the plugin code, and we have already reported it to our developers.
We do not have an estimated time for the fix yet. However, you can stay informed about upcoming versions by subscribing to our roadmap at https://wpmudev.com/roadmap/#forminator. Once new versions are released, you can find detailed information in the changelog at https://www.ads-software.com/plugins/forminator/#developers.
Given that the bug has been acknowledged, reported, and is in the process of being fixed, we are marking this issue resolved. Please don’t hesitate to contact us if you have any further questions or concerns.
Kind Regards,
Nebu JohnHi Guys,
I was just wondering if there were any new updates on this issues? The changelog doesn’t seem to indicate that a fix has been applied yet, but is there a workaround that might help me hide my submit button when the conditioners are met?
I checked this task with our Forminator Team and at the moment there is no ETA when this fix will be implemented. I asked our Team to consider a higher priority in that matter.
Kind Regards,
KrisThanks Kris,
Im using submission behaviours for now to deliver a “could not process” message with “do not send” email notification rules. But is there anything else you could recommend that might work better for me to prevent submission when the button is meant to be hidden?
As I’m not familiar with your form so it’s difficult to suggest anything without checking it.
There may possibly be some sort of JS workaround for that but it would need to be specific for the form and its rules.
Unfortunately, the link where you shared the form previously is already expired and we don’t keep shared forms for that long (so I cannot get it from my colleague who tested it previously).
Would you please share the form again (just make sure that those non-working conditions for “Submit” button are still set there – so we could use them as reference)?
I’d rather not make any promises but we’d take a look and see if we can suggest something.
Best regards,
AdamI can confirm that the submit button visibility rules are still not working on multi-page forms. Link: https://petvethelps.org/application-form-test/
I’m using the workaround suggested above by using behaviors to show an error message and a ‘do not send’ email notification rule.
Hi @crazysuzy,
I hope you are doing well today!
Please let us know if you have updated the plugin. If so, please share an export of the form with us again, so that we can check further. This time, please also share your Site Health report as well which you can get from the WordPress admin dashboard Tools->Site Health->Info->Copy site info to clipboard
You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export
After exporting, please share the file contents with us using the free services such as https://pastebin.com or https://justpaste.it
Please always make sure to use such services to share the code and don’t post the code here directly as it will most likely be unusable.
Kind regards,
ZaferThank you for the fast response! The plug-in was just installed two days ago, so I assume it’s current. Here is a link to the form export: https://pastebin.com/YeS2HiZF
I would like the submit button to be hidden if the person filling out the form indicates their cat or dog is under 2 months old.
- You must be logged in to reply to this topic.