- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-07-2022 09:56 PM
I have a type Lookup select Box variable field on a custom table . the field will show 2 values separated by , display_name_base,name display_name_base is Account number name is Name.
is there a way to auto populate the users details in the requested for field on the form. when javascript:gs.getUserID(); is used in Default value of variable sys_id is auto populated.
pleas suggest if this can be achieved by scripting ?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-07-2022 10:45 PM
Hello @green : Please use gs.getUserDisplayName() instead of gs.getUserID(). It will display name of logged in user instead of sys_id. Please mark my answer as correct or hit like based on impact.
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-07-2022 10:45 PM
Hello @green : Please use gs.getUserDisplayName() instead of gs.getUserID(). It will display name of logged in user instead of sys_id. Please mark my answer as correct or hit like based on impact.
Regards,
Musab