Is there a way to do auto-complete on a String field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2022 11:14 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2022 11:38 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2022 11:56 AM
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