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.
nuAddRow not generating Unique ID
-
- Posts: 7
- Joined: Fri Sep 13, 2013 11:07 am
nuAddRow not generating Unique ID
Used nuAddRow in JavaScript to generate a row in a subform and instead of a unique ID number for each row it generates a -1. Is this the correct behavior?
You do not have the required permissions to view the files attached to this post.
Re: nuAddRow not generating Unique ID
mskat,
Yes, that is the way it is supposed to work.
IDs are generated on the server by PHP.
Steven
Yes, that is the way it is supposed to work.
IDs are generated on the server by PHP.
Steven
-
- Posts: 7
- Joined: Fri Sep 13, 2013 11:07 am
Re: nuAddRow not generating Unique ID
Yes, that seems to be the case but for some reason when I save the record, the values for certain columns of the first row are not saved.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: nuAddRow not generating Unique ID
Do you manually modify the cells or by script? If by script, you need to invoke .change() otherwise the fields will not be saved.