Page 1 of 1

Copy values from one table to another one

Posted: Mon Oct 25, 2021 2:48 pm
by stevenmiller
Hi all,
I have a form, where values from a different table are shown via a display object.
Now I want to copy these values to the form's table.
I have created corresponding input objects for these values and I fill these objects with
nuSetValue('inputObject', nuGetValue('displayObject'));
Which works fine, the only problem is, that the values in the inputObject are not saved to the table, only if I change them manually they are stored in the table, when I click save.
What is missing or what would be the best way to do this?
Thanks
Steven

Re: Copy values from one table to another one

Posted: Mon Oct 25, 2021 3:17 pm
by kev1n
Hi,

Saving works fine with the latest version.

Call the change() method of the object

Code: Select all

$('#inputObject').change();
if you are using an older version.

Re: Copy values from one table to another one

Posted: Mon Nov 01, 2021 4:19 pm
by stevenmiller
Thanks, Kevin, you're a star! It works perfectly after updating.