Creating a multi step/page form on one page


What is the best way to create a form like this ?

The idea is that this is one page. So when the user fills in the first step and everything is filled in correctly, the second step gets active and so on.

I have created a Multi Page form now, but how can i show all steps on one page?