autocomplete on email form doesn’t work. here’s a fix

[ad_1]

To get autocomplete to work on the email field I had to add this to the Custom HTML script in advanced.

It selects the input field with the name: ‘signals_email’ and then adds an attribute: autocomplete=’email’

<script>
	const emailInput = document.querySelector('input[name="signals_email"]');
	emailInput.setAttribute('autocomplete', 'email');

</script>

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer