I have a form that must let user to check
, but I need to alert if they click submit but didn't choose any of the radio button options.
<label class="radio-inline"><input type="radio" name="optradio" value="Amount" >Amount</label>
<label class="radio-inline"><input type="radio" name="optradio" value="Quantity" >Quantity</label>
<label class="radio-inline"><input type="radio" name="optradio" value="Profit" >Profit</label>
How can I achieve it ? Thanks.