Do I need custom code for autocomplete form fields?

Hi! I’m trying to create a sign up form for a free download and I want to be able to have the ‘plain’ form fields autocomplete for first name, or given name and company, or organisation. The same way the default email one works.

Does anyone know how I can do this?

Thanks!