Is there a way to do auto-complete on a String field?

Johannes Mweli
Giga Guru

Hi ServiceNow Community Developers,

Do you know if there is a way to do auto-complete on a string field just like there is on a reference field? For instance I have a requirement to auto complete a string field as the user types in the field value. Do you know if there is way for a string field to mimic the behavior that the reference fields have whereby you can display the matching values as the user types in the field?

Kindly advise please.

Thanks,

Johannes  

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

You will have to configure client script, glide ajax to populate another field based on user input.

You can have auto complete for only reference fields.

 

Regards,

Sachin

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

Every field type serves a purpose & so does Reference field which comes with auto-complete feature. Not sure about your exact need but you can look for configuring Contextual Search if required