How does the Autocomplete Field works?

Can anyone explain with some example that how the autocomplete field works?

It’s a fancy searchable select field

For example,

For a field like ‘Gender’ it’s more sensual to use a Select field since there are only two options.

For a field like ‘Nationality’ it makes sense to use an Autocomplete field instead of scrolling down through 270+ options. (i.e., to choose ‘Brazilian’ you would simply type ‘Br’ and it will show up in the options)

Both of the above fields are used for selecting through a defined range of values as specified in the Options of the field.

When your range of values is dynamic and changeable, it doesn’t make sense to keep customizing the doctype to add more options to your field. Instead, you would use a ‘Link’ field to a custom doctype where you can add your options.

For example, a field like ‘Lead Source’ in a CRM application doesn’t typically have a fixed range of options, so it’s a good case scenario to use a link field where you can add a new record to your ‘Customer Sources’ doctype (i.e., “ 2025 Summer Campaign: Facebook Ads”) to make it as an available option for your link field.

Dynamic Link + Link field combination is used for cases where the source doctype (the one providing the options to the link field) is dynamic itself.

Finally, a Table Multiselect field is used when more than one option is selectable. This one is a little bit tricky to setup, follow the official documentation to learn about it