- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 02:23 AM
Hi Team,
Please find the below screenshot
Username has the collector which contains the value as reference from sys_user table
For Example:
ameer@gmail.com
I need to write a client script to get those 3 value in comma separated and save it in below user id field
I have a client script for getting one value , Not sure how to get 3 values with comma separated
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue === '') {
return;
}
var user = g_form.getReference('first_name', getdetails);
function getdetails(user) {
g_form.setValue('email', user.email);
g_form.setValue('user_id', user.user_name);
}
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 07:40 AM
as per my requirement you code this helps me ,It displays the sys id to string like below
rekha@gmail.com,sal@gmail.com,halit@gmail.com
Code
******
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 07:13 AM
@Community Alums
I have the list collector and value contains below
need to get those value on other field user_id in comma separated like = salma@gmail.com ,rekha@gmail.com ,ameer@gmail.com
