Page 1 of 1

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

Posted: 15 Jan 2019
by wdeffner
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

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

Posted: 16 Jan 2019
by wdeffner
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

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

Posted: 16 Jan 2019
by AlexZver
Dear Wolfgang,

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

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

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

Posted: 16 Jan 2019
by wdeffner
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

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

Posted: 16 Jan 2019
by AlexZver
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.