You don't need to repeatedly write codes for each form input pattern.
It is the exact same composition as using code like below.