fd.field('...').change(function() { ... not always working

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
wdeffner
Posts: 30
Joined: Thu Sep 22, 2016

15 Jan 2019

Hi,

we are using the control change function in a form with with about six number-fields. We are getting mixed resulted, as this works only with some of the fields and not all, although we can't detect any differences and have checked the javascript code and the fieldnames for several time.

We have also tried "fd.field('...').control().change(function() { ..." but this made no difference.

Any idea what we can look for?

Thanks a lot
Wolfgang

wdeffner
Posts: 30
Joined: Thu Sep 22, 2016

16 Jan 2019

Continued

Today we tried again and had a look at the code in Elment_Edit.xfs. No differences between the fields.
Than we created two new fields in Sharepoint - similar to the existing ones - these worked fine, a change was detected.

Any idea?

Wolfgang

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

16 Jan 2019

Dear Wolfgang,

Please try "fd.field('...').change(...)", without "control()".

If this doesn't help, please provide the screenshot of the browser console.

wdeffner
Posts: 30
Joined: Thu Sep 22, 2016

16 Jan 2019

Dear Alex,

we are now "fd.field('...').change(...)" without "control()", we only tried "control()" out to see if it makes ans difference.

The console shows two warnings but I can see no connection to our problem.

Thanks a lot

Wolfgang
Attachments
error.PNG
error.PNG (19.56 KiB) Viewed 1264 times
console.PNG
console.PNG (38.57 KiB) Viewed 1264 times

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

16 Jan 2019

Dear Wolfgang,

Ok, could I ask you to provide the additional information? A list template and the form (export it to a file) would be very helpful.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests