Try our conversational search powered by Generative AI!

Recommended Way To Add Autocomplete Attribute to Input Elements

Vote:
 

We have a client that is interested in adding the autocomplete attribute to the input fields on the our Optimizely forms for accessiblity reasons. Is there a recommended way to implement this functionality without making future upgrades to Optimizely forms more challenging?

#280405
May 16, 2022 17:46
Vote:
 

In my experience if you want to add custom markup the only way is to override the forms code renderings. You've just got to make sure when you do CMS upgrades that if you add a new version of forms nuget package that you compare the 2 versions of the raw markup to see what changes we implemented and add them to your custom code.

#280444
May 17, 2022 9:11
Vote:
 

And, in addition to that, why don't you just keep the built-in TextBox and create a new custom element with name like TextBoxWithAutoComplete to have the functionality of both. And, at the time of upgrade please follow the suggetions given by Scott.

#283509
Jul 11, 2022 16:58
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.