From the course: JavaScript: Web Form Programming

Unlock the full course today

Join today to access over 24,000 courses taught by industry experts.

Solution: Autofill

Solution: Autofill

(upbeat music) - [instructor] All right, so how'd you do? Were you able to get the billing and shipping addresses treated separately? So let's take a look at my solution, and I will show you how I did it. So let's go ahead and open up the autofill solution file and if we scroll down here in the code for my form, one of the things you'll notice is that I've included the keyword shipping before the autocomplete keyword identifier for the name and for the address, and for the postal code and so on, and you can see that all the way through the shipping section of the form that's what I've done. And if you go down to the billing section, the billing section is very similar, right? So here I have the word billing before the address, right? and I have if we look over here All right, so here's the... Right there, we have billing, right ? address level two and billing and billing and billing and so on, right? So the billing…

Contents