Expected Outome:-
If the person ticks YES to any of the questions, please make the text box for When & Where become mandatory for that respective Yes.
The Outcome I received:-
If I choose any Yes all the when and where becomes mandatory. But I want for specific row only.
Json:-
{
"pages": [
{
"name": "page1",
"elements": [
{
"type": "panel",
"name": "panel3",
"elements": [
{
"type": "matrixdropdown",
"name": "question5",
"title": "Please answer yes or no to the questions and where the answer is yes, please answer in the comments’ column?",
"columns": [
{
"name": "Yes/No",
"cellType": "radiogroup",
"isRequired": true
},
{
"name": "When & Where?",
"cellType": "text",
"requiredIf": "{question5.Cough.Yes/No} = 'Yes' or {question5.Infection.Yes/No} = 'Yes'"
}
],
"choices": [
"Yes",
"No"
],
"rows": [
{
"value": "Cough",
"text": "Cough"
},
{
"value": "Infection",
"text": "Infection"
}
]
}
]
}
]
}
],
"showProgressBar": "top"
}