Auto Populate Form Fields With Suggestion

I am working on a project that automates the form filling process. The user is having to type the same person’s info over and over. So I want to make it easier by asking if it’s the same person, and it it is, then auto filling the fields.

I have a number of text fields for a person’s name and address, city state zip. Below, I have another set of fields asking for the same information (name, address, city, state, zip.)
After the first set is filled out, and then the person goes to fill out the second set beginning with ‘name,’ using ajax or jquery the field should suggest the first name that was entered above. If the user accepts, it will auto-populate all of the same info that was already typed.

So if I’ve already typed in ‘John’s’ information, if I go to fill in the second name field and I type in the letter ‘J’, it should suggest ‘John’, if I press enter, it will autofill John’s name in the field, as well as all the address info.

The fields all already have unique IDs that I can’t change, however, the name can be whatever we want. So I will need this to work by using the fields name as the identifier.

Leave a Reply

Your email address will not be published. Required fields are marked *