Array in Form

Can I create a form that can save multiple variables for multiple elements, that each time the task of the form reached it give an order 1,2,3… and let the user enter some details then record this data so it can be called later in the process?