User Id instead of User Name

az712190

Member
Hi,
I'm trying to update a "log/history" field with the following js code in the text element 'action_taken', "on blur" :

$('snags___history').value = $('snags___logged').get('value') + ' wrote: ' + $('snags___date_time_cal').get('value') + ': ' + $('snags___action_taken').get('value') + '\n ' + $('snags___history').get('value');

The element 'snags___logged' is an hidden user element, update on edit.

The only problem is that $('snags___logged').get('value') always returns the user ID, while I would need the user name.

Any hint?

Thanks a lot
 
I'm new but maybe you can check out the fabrik plugin list to update col, its on their download page so check it out hope that helps...
 
Back
Top