Auto populated with initials

sariksorte
Tera Contributor

There are 2 fields in catalog item 2nd field should be auto populated with the help of first field but in a way that 2nd field should only have initials of the 1st field.

Ex: field1- Chuck Tomasy Servicenow

 field 2 should be auto populated with CTS.

If anyone has any idea please share.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@sariksorte 

this doesn't sound like a valid business requirement.

What's your actual business requirement?

what's the guarantee that you will always get names separated with space?

if this is just for learning then the onChange client script on 1st should be a simple one

what's the challenge you are facing?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

sariksorte
Tera Contributor

Hi Ankur, 

This is a business requirement and these are application name which short name we need.

I want to pull initials only this could beone of the possible solutions. I am stuck at how to pull after space character if any.

so for that I am asking for code.