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
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Copy values from one table to another one
-
- Posts: 25
- Joined: Mon Jul 06, 2020 4:23 pm
- Has thanked: 3 times
-
- nuBuilder Team
- Posts: 4302
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Copy values from one table to another one
Hi,
Saving works fine with the latest version.
Call the change() method of the object if you are using an older version.
Saving works fine with the latest version.
Call the change() method of the object
Code: Select all
$('#inputObject').change();
-
- Posts: 25
- Joined: Mon Jul 06, 2020 4:23 pm
- Has thanked: 3 times
Re: Copy values from one table to another one
Thanks, Kevin, you're a star! It works perfectly after updating.