• Resolved bodrovis

    (@bodrovis)


    I have 4 polls on a single page, and the voting is disabled for guests. It seems there’s a bug in the case when a guest is logged in: all polls get nested one into another (probably, because there’s a missing closing tag): https://i.imgur.com/XQuWF0o.png

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bodrovis

    (@bodrovis)

    Is it somehow related to the hidden inputs being rendered outside the form tag? I’m talking about these:

    <input type=hidden id=ays_finish_poll name=ays_finish_poll value=8856b8427c><input type=hidden name=_wp_http_referer value=/><input type=hidden id=ays_finish_poll name=ays_finish_poll value=8856b8427c><input type=hidden name=_wp_http_referer value=/>

    Thread Starter bodrovis

    (@bodrovis)

    So, I’ve found the issue – there’s a missing closing div before form. https://gist.github.com/bodrovis/bf42291655d35b1358cfe328145161bb – please check out the line 22. There should be a closing div (to match div on line 5) but there’s none. That’s why all polls below this one are being nested… This only happens for guest users who are not permitted to vote. I’ve also added a custom CSS class to my poll with the corresponding option, if that matters.

    Plugin Author Ays Pro

    (@ays-pro)

    Hi Dear @bodrovis ,

    Thank you for the topic.

    I am really sorry for my late reply as our office is closed from 30th December 2020 to the 6th January 2021(including) on account of Christmas and New Year Holidays.

    I am really sorry about the issue you are experiencing.
    Thank you for bringing it to our attention.

    We will surely take it into consideration and will fix it in the upcoming update.

    I will let you know when there is an update.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple polls are displayed incorrectly’ is closed to new replies.