-3
Fala galera!
I have two inputs in the form and would like to know how I do so when the input1 were filled it automatically changed to the input2.
These are the inputs, in case it has a limit of 5 digits:
<input type="text" id="input1" maxlength="5" required>
<input type="text" id="input2" maxlength="5" required>
Some information is missing in order to define an answer to your question. For example, what defines that your inputs are already filled? For example, are all selects? Do they have any character sizes that define that they are filled in? Without a rule to understand when the input is 'filled' there is no way to solve the problem.
– Vinicius Gabriel
Welcome Romulo, put your code until the moment detail the question better.
– André Lins
Also make it easy to post how your form is at the moment and what you’ve tried to do to solve the problem.
– Vinicius Gabriel
I put an example of what the inputs would look like
– Eddy