I have a Select. When you choose “Other” I need an input field below Select to show up.
I created a component with a form. When I use the code on page no. 1 Select is working fine. When I paste the same code into page no. 2 with the same component, it is not working. Any idea?
When you have duplicate ID’s like selectPosition, the JS cannot bind to the correct element.
The browser usually chooses the first one, which probably isn’t the one you’re trying to change.
I haven’t unpacked your project to try to figure out why you have multiple duplicate form fields here, but somehow you have 3 copies of the registration form, and 2 are hidden?
A quick guess would be a component contains a form, and you have 3 instances of the component on your page? Whatever it is, you’ll need to fix your design approach so that the duplicate ID’s problem is fixed.