Conditional Logic
Hi all,
After several hours of searching I am stuck. I have a check box group: Separation Type with two options either Voluntary or Involuntary. After they check one of the boxes, a text field should be required with reasons.
Ex. if they select voluntary separation, a drop down will appear where the reason for separation is required, Currently I have a code where if the checkbox is selected, the field is required: this.getField("VoluntaryDropdown").required = event.target.value!="Off";
However, if someone checks the Voluntary and then decides they meant to check the Involuntary, both fields now become required when only one should be requried.
Any advice or guidance is appreciated!
-M
