I need your help for making filed mandatory based on other field selection.
In my example I have field with 2 radio buttons. If the users select prison I want the Test1 and Test2 columns become mandatory. And if the users select BHDC I want the columns Test3 and Test4 become mandatory.
I just got to this point:
if ($(“input(id^=’FeedbackRelated’)(type=’radio’)(value=’BHDC’)” || $(‘input(id^=”YouthFeedbackForm”)’).val(“”))