0
It’s the following I’m developing a form, wanted that one of the fields of the form appears an input text and select html, and if the person chose the select item with several options, the entered data was sent to the database with the option item that was selected with the input data; I in the form I am going to fetch the values by ID since it is 2 items, it still works? How would I do that?
<select id="inserir_dados">
<option>Exemplo 1</option>
<option>Exemplo 2</option>
<option>Exemplo 3</option>
<option>Exemplo 4</option>
</select>
<input type="text" id="inserir_dados" placeholder="Caso nao exista"/>
Hello, Shider. Put more codes related to what you intend to do, because by the description itself I didn’t understand anything. Provide as much information as possible so your question is not negative.
– Jhonatan Pereira