basically hidden fields will be more useful and advantages to use with multi step form.
we can use hidden fields to pass one step information to next step using hidden and keep it forwarding till the end step.
- CSRF tokens.
Cross-site request forgery is a very common website vulnerability. Requiring a secret, user-specific token in all form submissions will prevent CSRF attacks since attack sites cannot guess what the proper token is and any form submissions they perform on the behalf of the user will always fail.
- Save state in multi-page forms.
If you need to store what step in a multi-page form the user is currently on, use hidden input fields. The user doesn't need to see this information, so hide it in a hidden input field.
General rule:
Use the field to store anything that the user doesn't need to see, but that you want to send to the server on form submission.