Automatically populate current user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 09:44 AM
I have a catalog item request form and for the user I am using a lookup Select Box from the sys_user table so my lookup value can be a specific value that I populated in the table and the label field to be user_name. I want it so it automatically populates the box with the person selecting it but let them possibly choose to request it on behalf of someone else who is allowed. I have tried different reference qualifiers but haven't been able to get it to work. Would this be possible with a reference qualifier or would I more likely have to create a script to be able to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 09:52 AM
Try this:
In the default value, enter: "javascript:gs.getUserID();"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 09:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 10:50 AM
it works for User ID, but how can i get full name of the user?
Can you help with that?