Can someone help on making a user input a unique code which will redirect to a different page

Hey! I’m kinda new to Wix and I need to create a form for user to make them go to different pages at a time, putting the right codes into form. Like, I wanted them to be in sequence from page 1 to page 2 to page 3 and therefore, like the “Enter Code” from Do Not Believe His Lies that only enables you to go to the next page. Do anyone know how to make it work? I really need help with it.

Here you can find an old example made with dropdowns…

Modify it and use an inputfield instead.