Loading

Auto-Fill Omniscript Select Component Feature

Date de publication: May 9, 2024
Description

When OmniScript element has Address in the label so next to a Select element with Country in the label, the Chrome Autofill shows address suggestions on Address field. Choosing an address from autocomplete also fills the Select element with Country even if the Select element does not have that as a valid option.

 

Chrome Autofill is a browser specific feature. There is an HTML attribute "autocomplete" to specify type of autocomplete for fields. OmniScript provides Autocomplete support. But if this attribute is not provided, the autofill looks at the fields's label to provide autocompletions.

Résolution

Use "autocomplete" attribute on text element of OmniScript to let the Chrome Autofill know the type of autocompletion - either set it to "off" or "street-address" or any other supported HTML attribute value.

 

Please refer below documentation for Autocomplete element property in OmniScript.

https://help.salesforce.com/s/articleView?id=sf.os_common_omniscript_element_properties_definitions.htm&type=5

Ressources supplémentaires

Autocomplete feature enable users to autocomplete values according to the user input information type. For example, adding Tel to a Telephone input element enables autocomplete for Telephone numbers.

For a full list of attributes, see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete.

 

Numéro d’article de la base de connaissances

001498769

 
Chargement
Salesforce Help | Article