Poll module not returning result to DB
Poll module not returning result to DB
I installed the Poll module as well as Ajax. I created a poll and it is working. But when I vote, the vote is not count for in the admin section and if I click on the peek button, it just refresh to the home page. Any help??? Thanks!
Re: Poll module not returning result to DB
up !!!
I have the exact same pb.
my installation is a CMSMS1.1.
Thanks for any help
I have the exact same pb.
my installation is a CMSMS1.1.
Thanks for any help
Re: Poll module not returning result to DB
Hi,
according to the generated html code, the poll form sends queries to '#':
I think this may be the problem, because the url asked remains the same as the one on which the poll appears and thus it just refreshes the page without taking in consideration the submitted form.
Still I don't have any idea how to fix it.
according to the generated html code, the poll form sends queries to '#':
Code: Select all
<form action="#" onsubmit="return PollspollFormSubmit();">
Still I don't have any idea how to fix it.
Re: Poll module not returning result to DB
I don't Poll module but you can check js PollspollFormSubmit() function (it's call with submit).wapcamer wrote: according to the generated html code, the poll form sends queries to '#':I think this may be the problem, because the url asked remains the same as the one on which the poll appears and thus it just refreshes the page without taking in consideration the submitted form.Code: Select all
<form action="#" onsubmit="return PollspollFormSubmit();">
If there isn't URL in function then yes it's a bug (if missing, method default is GET) if URL not changed (no query param in URL)
Alby
Re: Poll module not returning result to DB
Hello Alby,
thanks for your reply.
You must be right regarding the js PollspollFormSubmit() function; I had a look to the Javascript console, and guess what?
Has the dev forgotten to include files???
thanks for your reply.
You must be right regarding the js PollspollFormSubmit() function; I had a look to the Javascript console, and guess what?
Code: Select all
Erreur : PollspollFormSubmit is not defined
Fichier source : http://mysite.com/cmsms/
Ligne : 1
Re: Poll module not returning result to DB
Check in help module if there is info on js function (maybe it's a few rows to add in head section).wapcamer wrote: You must be right regarding the js PollspollFormSubmit() function; I had a look to the Javascript console, and guess what?
Has the dev forgotten to include files???Code: Select all
Erreur : PollspollFormSubmit is not defined Fichier source : http://mysite.com/cmsms/ Ligne : 1
If not, can you add a bug tracker in forge?
Alby
Re: Poll module not returning result to DB
There is not much in the help.
I could find no info about the js function, only other users that have the same problem.
I will make a new bug in the forge, we will see what'll give.
Thanks
I could find no info about the js function, only other users that have the same problem.
I will make a new bug in the forge, we will see what'll give.
Thanks
Re: Poll module not returning result to DB
Sorry I could find the button 'create bug'... 

Re: Poll module not returning result to DB
Create an account with your forum nickwapcamer wrote: Sorry I could find the button 'create bug'...![]()
Login
Module Page
Tracker
Bugs
Add new bug
Alby