Javascript not working on NEW FORM
Hello,
we have a dynamic form with actions coded in Javascript fielt (hide fields and tabs, highlight fields). After a update from 3.0.8 to 3.1.2 the Javascript dosn't work on the NEW form.
I have saved the form with the new version again, but the form is not dynamic.
On the edit and display form all is OK. What can I do to solve the problem?
Thank you for any help.
Rainer
we have a dynamic form with actions coded in Javascript fielt (hide fields and tabs, highlight fields). After a update from 3.0.8 to 3.1.2 the Javascript dosn't work on the NEW form.
I have saved the form with the new version again, but the form is not dynamic.
On the edit and display form all is OK. What can I do to solve the problem?
Thank you for any help.
Rainer
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Open the browser console (F12) and check JS-errors.
Open the browser console (F12) and check JS-errors.
Thank you for your tip. I get a console error:
SCRIPT438: The object does not support the property or method "data"
plumsail.fd.core.js
A look inside the script goes to UpdateDroppedDocuments function. So I have take a look to my scripts. The first part is such a function, but I don't need it in the new form. Also I have all forms (new, edit, disp) make equal and hide some parts due Javascript.
So I have removed the UpdateDroppedDocuments funktion on the NEW form and it works now.
But where is the error in the NEW form?
Thx Rainer
SCRIPT438: The object does not support the property or method "data"
plumsail.fd.core.js
A look inside the script goes to UpdateDroppedDocuments function. So I have take a look to my scripts. The first part is such a function, but I don't need it in the new form. Also I have all forms (new, edit, disp) make equal and hide some parts due Javascript.
So I have removed the UpdateDroppedDocuments funktion on the NEW form and it works now.
But where is the error in the NEW form?
Thx Rainer
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Most likely, you just do not have the related docs in the new form.
Most likely, you just do not have the related docs in the new form.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests