Code:
<label class="form__label" for="urgency">Urgency</label>
<input class="form__input no-input-animation" id="urgency" name="urgency" type="radio" required>
<div class="urgency-text critical">Critical</div>
<div class="urgency-text high">High</div>
<div class="urgency-text medium">Medium</div>
<div class="urgency-text low">Low</div>
This shows one radio button with each urgency div as one option collectively. I can understand why.
I would like my buttons to have no radio checkbox and each of the divs be its own option, with a value
attribute.
EXAMPLE:
Choose Status:
[ Available ] [ Idle ] [ Do Not Disturb ]
Each item in square brackets []
is clickable and has it's own value attribute, e.g. available
How do I make this work inside a form?
Thanks.