1
I’m having a problem getting the results of a select
multiple, because it does not come with the whole name when it comes to a compound name example.
<form action="/action_page.php">
<select name="cars" multiple>
<option value="volvo">Volvo teste</option>
<option value="saab">Saab verifica</option>
<option value="opel">Opel mais</option>
<option value="audi">Audi</option>
</select>
<input type="submit">
</form>
But when I get the return response it appears only:
"Volvo", "Saab", "Opel" e "Audi"
The compound part of the name is not appearing. It was to appear in my result if I select "Volvo Test" and not just "Volvo".
When you submit the form, only the
value
of options.– Sam