Javascript not working on NEW FORM

rss

Posted by rab - Jan 24 ’17 at 05:08

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

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 5 years 10 months 26 days
    #1 by Dmitry Kozlov Jan 25 ’17 at 06:00

    Hi,

    Open the browser console (F12) and check JS-errors.

  • rab
    Member
    Member for: 3 years 3 months 20 days
    #2 by rab Jan 25 ’17 at 07:34

    [#1]:  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

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 5 years 10 months 26 days
    #3 by Dmitry Kozlov Jan 26 ’17 at 08:33

    [#2]: Hi,

    Most likely, you just do not have the related docs in the new form.

Displaying 1 to 3 of 3 messages