Defining hidden field variable based on radio button selection
How can I pass a hidden field based on the answer to a radio button question?
Client Conditioned
If radio = yes, pass conditionAlert value="current"
If radio = no, pass conditionAlert value="standby"
- <label class="form-check-label" for="clientCondition">Is client conditioned?</label><br>
- <label><input type="radio" name="clientCondition" value="Yes" required>Yes</label>
- <label><input type="radio" name="clientCondition" value="No">No</label>