Javascript not working on NEW FORM

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
rab
Posts: 8
Joined: Wed Apr 27, 2016

24 Jan 2017

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

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

25 Jan 2017

Hi,

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

rab
Posts: 8
Joined: Wed Apr 27, 2016

25 Jan 2017

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

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

26 Jan 2017

Hi,

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

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests