Select option limit not working
-
Hey!
I was trying out the select option limit feature, but couldn’t figure out how to make it work. I tried limiting each ‘select’ field to 3 submissions, but I’m still able to see and submit an option that has already been submitted 3 times. Am I doing something wrong, or is this something on your side?
– Kalina
-
Sorry to hear you are having this issue.
It is a known bug, our developers are already working to fix it, could you please try the solution shared on https://ww.wp.xz.cn/support/topic/form-select-option-limit/
Let us know the result you got.
Best Regards
Patrick FreitasHi Patrick,
Thanks for your answer.
So I made a Must Use plugin with the gist and checked if the plugin was installed, and it is. But unfortunately I still have the same problem β I can make unlimited submissions. So this solution doesn’t work π– Kalina
Hi @syvsoversken,
Did you ensure that the code is added properly and that you can see the MU plugin listed in your WP admin > Plugins > Must-use filter?
It should show up like this:I’ve tested the MU plugin on my end and the limit was working fine for me.
If you’re still having issues with this could you share a link to your page with the form in question?
Cheers,
PredragHi,
Yes, I followed the instructions in the links in your last message, and I checked if the plugin was installed, as I wrote in the last message. It shows up in the plugins section under Must-use. So it is installed properly, but I still have the same problem.
Page link
The field with the issue says “Velg dag for service”Thanks for looking into it π
– Kalina
-
This reply was modified 4 years, 9 months ago by
syvsoversken.
-
This reply was modified 4 years, 9 months ago by
syvsoversken.
Hi @syvsoversken,
Thanks for the URL, I tested the form and can confirm that the issue is there (you can remove my test submissions, I used wpmupredrag in all of them).
What I did notice that there’s a console error on that page and when I loaded the page without Autoptimize (by adding ?ao_noptimize=1 to URL) I could still see the issue and it is pointing to one of your theme scripts, /wp-content/themes/sykkellagring/library/js/scripts.js file to be precise.Can you test the form by activating default WP theme and see if the limit works fine after that?
In the meantime, could you also provide us with an export of your form so we can test it on our end further?
You can go to Forminator > Forms and click on the gear icon next to your form to get the export file.
Upload that file to any file sharing service like GDrive or Dropbox and share the download link here.Cheers,
PredragHi Predrag,
Here is a link to the export of the form
I’ll test the form by activating the default WordPress theme, but I’ll have to wait until the middle of the night because we have visitors in the daytime.
Thank you so much for looking into it β I really appreciate your help.
– Kalina
Hi again,
I have corrected the console error in scripts.js and tested with WP default theme (Twenty Twenty) but unfortunately, the issue still persists. Could it potentially be a compatibility issue with another plugin? Would you like me to send you a list of all my activated plugins?
– Kalina
The best approach is a full plugin conflict test.
Since your site is live I suggest using a plugin to create a staging like https://ww.wp.xz.cn/plugins/wp-staging/
Once done, kindly run a full plugin conflict test following this workflow:
https://wpmudev.com/wp-content/uploads/2015/09/Support-Process-Support-Process.gif
Let us know the result you got
Best Regards
Patrick FreitasHi Patrick,
So I deactivated all plugins except Forminator and tested again. Even with all plugins deactivated the issue still persists. So there is no plugin conflict going on here…
– Kalina
HI @syvsoversken,
On further testing, I could replicate the issue. I could notice a couple of issues which is causing the snippet to not work on your form.
The “Mobile” field and the “Select” field added in the same row is whats is causing the snippet to not work as expected. Once I moved both the fields to separate fields it seems to be working fine now.
Could you please download the following form export and see how that goes on your website:
https://cloudup.com/files/iCLPCvgQ36S/downloadKind Regards,
NithinThank you so much, Nithin!
So, If I understand you right, there will be an issue if you place the ‘select’ field next to another field in the drag-and-drop editor for Forminator in WP-admin? If so, I’ll be sure to always place the select field on its own row!
– Kalina
BTW β I noticed another thing: In your form export, you set the limit to 2 submissions on the select field. However, it allows 3 submissions before the option disappears. It’s an easy fix for me to set a number that is one less than the actual number I want, but I just wanted you to know about this bug.
– Kalina
Hello @syvsoversken ,
So, If I understand you right, there will be an issue if you place the βselectβ field next to another field in the drag-and-drop editor for Forminator in WP-admin?
Yes, that would be correct in this case.
Thank you for adding the info about the submission limit.
kind regards,
KasiaI 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 questions or problems.
Best Regards
Patrick Freitas -
This reply was modified 4 years, 9 months ago by
The topic ‘Select option limit not working’ is closed to new replies.