I've created several forms that appear to work OK but when I select the form for editing from the "Forms Management" screen I get warning/error message (a large paragraph of commands with a red cross against one line). The line highlighted by the cross is:
I can provide a screenshot if needed.
Anyone any idea what is causing this and should I be concerned?
main attributes theitem.getLast().injectHTML('', 'after'); theitem.getLast().setStyle('display', 'none'); theitem.getLast().addEvent('click', function(e) { new Event(e).stop(); this.getParent().remove(); if(($chk($E('input[name^=to_]', droparea)) || $chk($E('input[name^=dto_]', droparea))) &&
I can provide a screenshot if needed.
Anyone any idea what is causing this and should I be concerned?
Hi kj100,
That's a chunk of Javascript showing up in the admin page where it shouldn't. (I think it may be from the Forms Wizard.)
It's probably a sign of either a JavaScritp error or some unclosed tags or broken code somewhere in the page. The most likely place is in your form code but it's not the only possiblity.
Bob
That's a chunk of Javascript showing up in the admin page where it shouldn't. (I think it may be from the Forms Wizard.)
It's probably a sign of either a JavaScritp error or some unclosed tags or broken code somewhere in the page. The most likely place is in your form code but it's not the only possiblity.
Bob
Bob
I don't think it is in my code as it happens when there is none.
If I create a new simple form with a single text element on it in the wizard, save the form, open from Forms Management screen and the screeds of JavaScript are there.
I have noticed that it only happens about 80-90% of the time. Sometimes when you open a form the screen looks normal.
Kevin
I don't think it is in my code as it happens when there is none.
If I create a new simple form with a single text element on it in the wizard, save the form, open from Forms Management screen and the screeds of JavaScript are there.
I have noticed that it only happens about 80-90% of the time. Sometimes when you open a form the screen looks normal.
Kevin
Hi Kevin,
If the site is on-line and it's OK with you please PM or E-mail me a SuperAdmin login and the URL and I'll take a quick look.
Bob
If the site is on-line and it's OK with you please PM or E-mail me a SuperAdmin login and the URL and I'll take a quick look.
Bob
This topic is locked and no more replies can be posted.