Code: Select all
<__script__ type="text/javascript">
function getQuerystring(key, default_)
{
if (default_==null) default_="";
key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regex = new RegExp("[\\?&]"+key+"=([^&#]*)");
var qs = regex.exec(window.location.href);
if(qs == null)
return default_;
else
return qs[1];
}
</__script>
This piece of code was hard coded in a couple of pages (not in the template for that page) which includes a form made by the formbuilder. When I looked at the page, a couple of errors appeared stating that there were some \'s in the form which obviously caused errors.
After removing the code from the page, the problem still persisted and I tried to recreate the form (both by uploading an xml file with the code from a working form, as well as recreating a form from scratch). However, every time I save the form, the form template is being screwed up. Everytime I save a form, multiple \'es are being added to the form template in CMSMS.
I already tried to create a form from scratch, using an xml file of a form which is still working fine, but still this problem persists. Also when using different computers (to avoid caching) and also different locations (both at work as wel at home). It seems to me, that something terribly has been changed in the backend of the CMS
Does anyone have a clue what has happened and what we can do to solve this, as it really looks like that our CMS is screwed....