I’m trying to set up the search form for my template but for some reason, it will disable the ajax poll that I have set up. Is there anything that I need to know to get it to work properly?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 16, 2009 3:44pm
Subscribe [2]#1 / Jan 16, 2009 3:44pm
I’m trying to set up the search form for my template but for some reason, it will disable the ajax poll that I have set up. Is there anything that I need to know to get it to work properly?
#2 / Jan 16, 2009 3:50pm
Wired,
Is this the simple search form or the advanced search form?
And what version and build of EE are you running?
#3 / Jan 16, 2009 5:36pm
It’s the simple search form and I’m running ExpressionEngine v 1.6.2.
#4 / Jan 16, 2009 5:40pm
Wired, you’re a few versions behind. I’d recommend upgrading to the newest, since there is newer functionality and it is a recommended security upgrade.
When you say ajax poll, what do you mean? Do you have a link we can look at?
#5 / Jan 19, 2009 1:53pm
Underneath the map, you should be able to cast your vote:
But when I apply the simple search form, the vote button doesn’t cast the vote.
Thank you for taking a look at it.
#6 / Jan 19, 2009 2:01pm
Wired:
i would first highly recommend upgrading to the current version/build, as there have been many security updates, bug fixes and features added since 1.6.2.
Also, you should probably check to make sure there isn’t a DOM id conflict, or your AJAX isn’t just searching for any form on the page.
-greg
#7 / Jan 19, 2009 2:35pm
Thank you Greg, I totally missed out cause my membership has expired and now I can’t download the latest build. So do you think by updating the build It should resolve the issue?
I guess I should debug to see what’s going wrong. I appreciate it man. I probably need to refine JS a bit more.
#8 / Jan 19, 2009 2:39pm
I can’t promise that updating will fix it, but I would highly recommend starting there. 😊
#9 / Jan 19, 2009 3:32pm
I fixed it. You were right about the forms conflicting. I had to assign the function to the right form. Thank you so much!
#10 / Jan 19, 2009 5:37pm
Glad to see you found a solution 😊 Please post again if you need additional help.