How can the browser selection be restricted when using a Datalist with multiple Option value fields in PHP?

When using a Datalist with multiple Option value fields in PHP, the browser selection can be restricted by using the 'list' attribute in the input field. This attribute specifies the id of the datalist element that contains the options for the input field. By setting the 'list' attribute to the id of the datalist element, only the options from that specific datalist will be available for selection in the input field.

<input list="datalist_id" name="input_field_name">
<datalist id="datalist_id">
    <option value="Option 1">
    <option value="Option 2">
    <option value="Option 3">
</datalist>