- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2022 10:25 PM
I have 2 variables 'Application short name' and 'VM Name'. I have the requirment to populate the VM Name variable with the 1st 5 characters of Application short name.
How to do this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2022 10:50 PM
Hi Shalika,
You can use OnChangeb catalog client script and JS method(SLICE) to achieve this requirement.
var field1 = g_form.getValue("application_short_name");
var b = a.slice(0,5);
g_form.setValue("vm_name",b);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2022 10:50 PM
Hi Shalika,
You can use OnChangeb catalog client script and JS method(SLICE) to achieve this requirement.
var field1 = g_form.getValue("application_short_name");
var b = a.slice(0,5);
g_form.setValue("vm_name",b);