Multi field multi step form

I am struggling at making a multi step form (made with this script) work properly.

I can’t figure out why the fields of the last step are not displayed as those of the previous step.

Capture d’écran 2021-03-29 103740

Capture d’écran 2021-03-29 103806

Can someone help with this? :pray: