Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Forms & JavaScript (jQuery)

Go to End

2 Posts   1380 Views


Community Member, 16 Posts

18 November 2011 at 11:24pm


I have a kind of problem with any type of forms, i've checked it with user forms, polls, newsletter form ... any type of form that is on the website makes a problem with js ... it means that when I have any kind of form on the website it disables javascript so none of those elements like banners, sliders etc. works.

Simply: when I add a form to my page it turns off java script so banners and sliders won't work.

Does anyone knows how to repair that ?


Community Member, 16 Posts

22 November 2011 at 6:05am

It doesn't turn off Javascript, it is probably including a library that isn't playing nicely with your other jQuery stuff. Look in the 'Error Console' of your browser to see what exactly is going on.

Historically, I use jQuery.noConflict(); immediately after the import of jQuery in my templates. Then code that I write to use jQuery I spell out jQuery instead of using the $ symbol.