Forums

Can´t save Form tag attachment

analogeins 08 Feb, 2012
After the update to RC3.11 I missed a javascript. I saw that the "Form tag attachment" field in the Forms Manager ist empty. I tried to insert my code but I can´t save it.

If I try some text like "hello world" it´s possible to save this. But I can´t save code like: onsubmit="someJSFunction();"

After pressing the save button the field is empty again. Maybe this has something to to with "" or ()?

Did I anything wrong or is this a bug?

Thanks

Andreas
GreyHead 08 Feb, 2012
Hi Andreas,

It appears to be working OK here.

The alsternative is to use this in a Load JS action instead.
window.addEvent('domready', function() {
  $('form_id').addEvent('submit', someJSFunction);
});

Bob
analogeins 08 Feb, 2012
Thanks,

this worked fine. Maybe I have a problem with my Database.

Andreas
This topic is locked and no more replies can be posted.