How to create a slider form?

I’m trying to figure out how to create a form but make it less confusing for customers by going one step at a time. What I’d like the end result to look like is a customer types into one of the forms inputs and then clicks next so the next input (or step) shows up. I know that I can add a form to the slider, but I’m not sure whether or not data saves when navigating through slides.