How to add a user id
How to add a user id
I am trying to figure out how to add a userid from a php session variable to a table. I would like to know who created the record, but don't want the user to know it exists in datatable or editor at all. I have a feeling using onpresubmit may be the ticket, but have no idea what that code would look like.
This discussion has been closed.
Replies
[code]
"events": {
"onPreSubmit": function (o) {
o.data.userid = '1';
}
}
[/code]
Allan