How do I create dynamic form navigation based on user input?