Maybe someone can help me out with the code validation. It takes me already several days and when one thing goes right the other thing goes wrong.
When I want to fill in the right code: 123456, it should change the price and the button goes to State 2.
When I fill in, for example 123, an error state should be visible and the button should stay the same (State 1).
Discountcode.rp (71.9 KB)