Hi All,
I have subform. I need to capture user name in “Rec By” Column once the user changes the date in “Rec Date” column. I tried using nuRownumber function, but din’t work. Refer to attached screen.
Regards,
AA
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.
Capture User Name on changing filed values
-
- Posts: 18
- Joined: Tue Nov 26, 2013 9:14 am
Capture User Name on changing filed values
You do not have the required permissions to view the files attached to this post.
Re: Capture User Name on changing filed values
AA,
Put this in Before Open of the Form your Subform is on..
and add an onclick event on the date field..
Steven
Put this in Before Open of the Form your Subform is on..
Code: Select all
$j = "
window.customerID = '#nu_user_id#';
function updateRecBy(pthis){
var pre = $('#' + pthis.id).attr('data-prefix'); //-- update the field on the same row
$('#' + pre + 'RecBy').val(window.customerID);
}
";
nuAddJavascript($j);
Steven
You do not have the required permissions to view the files attached to this post.
-
- Posts: 18
- Joined: Tue Nov 26, 2013 9:14 am