Best way to do website forms in 2022

Joined
12 Feb 2006
Posts
17,380
Location
Surrey
I'm currently redoing my website with a total refreshed design, but I also need to bring my quote forms up to 2022 standards.

The form in question is linked below.


At the moment it's just a standard html form, with each page posting the data to the next page and then storing the previous pages data as a hidden input field.

Once it's done, it stores all the data in a new line in mysql, so the customer information along with the property, price etc, all on 1 new line in a database.

The issues I see with the form are.

1. It's not pretty any more and needs to refresh the form area without refreshing the whole page.

2. If someone clicks refresh on their browser, it asks the user if they want to resubmit the data, which can be confusing/off putting for customers when they don't understand what they are doing, as well as, can lead to duplicate quotes.

3. The way I'm storing the new quotes in mysql is super inefficient.

4. Too many questions per page. I need to break this up to much much shorter pages, even if asking the same amount of questions.

5. I shouldn't get the all customer details on page 1 but instead at the end.


I wondered what would be the suggestions to bring this up to 2022 quality. Anything you notice that needs improvement? And how? What is the current way to do forms? Should I be using html forms any more? Should the data no longer be posted, perhaps store them as a session cookie, or something else?
 
Back
Top Bottom