• Resolved papamak

    (@papamak)


    Hi, i have a problem using Forminator plugin.

    I can’t vote on multiple polls on a same page. For example i have 5 polls on my home page. When i vote on 1st poll everything is ok, but when i vote on 2nd poll i receive the message “You have already submitted a vote to this poll”. The 1st and the 2nd poll are different polls.

    Do you know the problem?

    You can check about this on https://www.24net.gr (in Greek language but you can check the poll’s problem on home page).

    Thanks for the support.

    • This topic was modified 3 months ago by papamak.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @papamak

    Hope this message finds you well.

    After testing your polls I was not able to replicate the same. I could submit 3 of 5 of them, you can see it here:

    https://nimb.ws/5L6yHXv

    Could you try in incognito or private mode?

    Let us know the results.

    Best regards,
    Laura

    Thread Starter papamak

    (@papamak)

    thanks for the answer.

    You vote on 1st poll and the on 2nd and 3rd without refresh or leave home page…isn’t it?

    I test about this and i found that the problem is bigger when i try to vote on multiple polls after 1 or 2 seconds from one to another.

    I delete all the poll votes if you like to try once again.

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @papamak,

    Just to be sure I understood the steps you are following to replicate, ie the poll is submitted individually one after another and that’s when you notice the issue right?

    I gave a quick test in your site but I couldn’t replicate an issue during such a workflow ie when I try to submit the polls one after another.

    However, I do see anomalies regarding such a setup when I test my system, seems like there might be a possible bug.

    Could you please create an export of the poll and share us in the next reply so that we could have a better idea?

    Please check the following doc on how to export a form:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    If you are concerned about any sensitive information in the form, then you can duplicate your form, remove any sensitive information, and then export it.

    You can share the export file via Google Drive, Dropbox or any cloud service in the next reply.

    Looking forward to your response.

    Best Regards,

    Nithin

    Thread Starter papamak

    (@papamak)

    Yes, there is a problem when i try to vote on polls continuously one after another. All the polls are on home page. The vote on 1st poll working without problems, the vote on 2nd or 3rd poll sometime show me the message “You have already submitted a vote to this poll”. Sometimes there is no problem, sometimes the problem starting into 2nd poll….

    The export poll code is:

    {“type”:”poll”,”data”:{“fields”:[{“id”:”answer-1″,”element_id”:”answer-1″,”form_id”:null,”parent_group”:””,”title”:”Φυσικ? φαιν?μενα”,”color”:”rgba(27,126,232,0.5)”,”answer_image”:””,”answer_image_filename”:””,”answer_image_alt”:””},{“id”:”answer-2″,”element_id”:”answer-2″,”form_id”:null,”parent_group”:””,”title”:”Ανθρ?πινε? δραστηρι?τητε?”,”color”:”rgba(0,181,51,0.5)”,”answer_image”:””,”answer_image_filename”:””,”answer_image_alt”:””},{“id”:”answer-3″,”element_id”:”answer-3″,”form_id”:null,”parent_group”:””,”title”:”Εμπρησμ??”,”color”:”rgba(224,0,7,0.5)”,”answer_image”:””,”answer_image_filename”:””,”answer_image_alt”:””}],”settings”:{“answers”:[],”settings”:{“formName”:”Καλ?τερη παιχνιδομηχαν?”,”version”:”1.24.6″,”admin-email-recipients”:[“[email protected]”],”admin-email-title”:”New Poll submission for {poll_name}”,”admin-email-editor”:”You have a new poll submission: <br/><br/>{poll_answer}<br/><br/>Current results: <br/>{poll_result} <br/>—<br/> This message was sent from {site_url}.”},”akismet-protection”:”0″,”formName”:”Ποι? ε?ναι η κ?ρια αιτ?α των πυρκαγι?ν;”,”version”:”1.34.1″,”store_submissions”:”1″,”form_name”:”poia-einai-i-kyria-aitia-ton-pyrkagion”,”form_status”:”publish”,”poll-question”:”Ποι? ε?ναι η κ?ρια αιτ?α των πυρκαγι?ν;”,”enable-votes-limit”:”false”,”vote_limit_input”:”5″,”use_ajax_load”:”1″,”results-behav”:”show_after”,”show-votes-count”:”true”,”enable-ajax”:”true”,”results-style”:”bar”,”poll-colors”:””,”poll-image”:””,”poll-image_filename”:””,”poll-image_alt”:””,”forminator-poll-design”:”material”,”enable_images”:””,”poll-button-label”:”ψηφ?στε”,”poll_question”:”#ef8700″,”use-custom-css”:”1″,”custom_css”:””,”previous_status”:”publish”,”answers-spacing”:”open”,”use-admin-email”:””,”admin-email-recipients”:[],”admin-email-cc-address”:[],”admin-email-bcc-address”:[],”use_donotcachepage”:””,”enable-votes-method”:”browser_cookie”},”client_id”:null,”integration_conditions”:[],”behaviors”:[],”notifications”:[]},”status”:”publish”,”version”:”1.34.1″}

    hope this helps….

    I’m trying to check about the problem…..i set the Voting Limit method: Brower cookie

    • This reply was modified 3 months ago by papamak.
    • This reply was modified 3 months ago by papamak.
    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @papamak,

    I hope you are doing well today!

    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,
    Zafer

    Thread Starter papamak

    (@papamak)

    ok, this is the link https://jpst.it/3Szk6

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @papamak,

    Thank you for sharing the code. There still was an issue with importing the poll, but it worked after I’ve replaced the modified double quotes: , with the original ones: ".

    I’ve tested it by importing your poll to my site 3 times, and publishing all 3 duplicated polls on the same page, but still didn’t get any errors.

    Could you please export all the polls from your page, by downloading them as text files, and share those files via Google Drive, Dropbox, or a similar service: https://prnt.sc/00UihbNT3w-6

    – this should help preventing accidental code modification while sharing.

    Please also let us know what browser and operating system you are using.

    And finally, please let us know if you can replicate the issue on a new incognito (private) tab.

    Looking forward to your reply!

    Best Regards,
    Dmytro

    Thread Starter papamak

    (@papamak)

    thank you very much for the support.

    The problem seems to be solved by changing the Voting limit method from User IP to Browser Cookie.

    Is it possible to support both methods at the same time? Maybe in a future update you can add it as a feature.

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @papamak

    Hope you’re doing well today!

    Thank you for getting back to us. Glad to know that setting the Voting limit method to the Browser cookie helped.

    I made a quick test with the scenario you mentioned and could replicate that the 2nd poll wasn’t submitted only when the Voting Limit was set to User IP. Whereas it worked as expected when it was set to Browser Cookie.

    Is it possible to support both methods at the same time? Maybe in a future update you can add it as a feature.

    Regarding using both methods, I’ve already shared this with the Forminator team along with the findings from my tests, we will update you about this as soon as we get further insights from the Forminator team.

    Thank you for your patience while we check this for you.

    Kind Regards,
    Saurabh

    Thread Starter papamak

    (@papamak)

    Your test confirms that there is a problem when Voting Limit is se to User IP?

    I’m waiting about bugfix and news from Forminator team (really Great Team!)

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @papamak,

    I hope you are doing well today!

    Your test confirms that there is a problem when Voting Limit is se to User IP?

    Yes, it works only after refreshing the page when Voting Limit is se to User IP.

    I’m waiting about bugfix and news from Forminator team (really Great Team!)

    Thanks for your nice words. Rest assured our Forminator team will do their best to provide a fix for this issue in the upcoming releases. Please check our changelog at https://www.ads-software.com/plugins/forminator/#developers

    Kind regards,
    Zafer

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @papamak

    As said above, this was already forwarded to our developers and I am marking this thread as resolved, but if you have any additional questions feel free to let us know. Please note this is reported as a bug which will be fixed in future versions.

    Kind Regards,
    Kris

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.