Client script not working to auto populate the requestor field on form load
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
35m ago
You could do this with one line:
g_form.setValue('requestor_name', g_user.userID);
but note that the field/variable name 'requestor_name' must be exactly correct (case-sensitive) and since g_user.userID returns a sys_id, this field/variable must be a reference type to the sys_user table.
