Answers for "how to make input field with multiple option"

C#
2

how set multiple input form with the same name

<input name="xyz[]" value="Lorem" />
<input name="xyz[]" value="ipsum"  />
<input name="xyz[]" value="dolor" />
<input name="xyz[]" value="sit" />
<input name="xyz[]" value="amet" />

  
$_POST['xyz'][0] == 'Lorem'
$_POST['xyz'][4] == 'amet'
Posted by: Guest on April-17-2021
0

Tagging with multi-value select boxes

<select class="form-control" multiple="multiple">
  <option selected="selected">orange</option>
  <option>white</option>
  <option selected="selected">purple</option>
</select>
Posted by: Guest on June-13-2021

Code answers related to "how to make input field with multiple option"

C# Answers by Framework

Browse Popular Code Answers by Language