There is a project on Bitrix, I am polling through the standard complex component of the vote, how to get the value (value) of input type = "radio"?
We deduce the component, respectively, for all the answers, the output is built through foreach.
The ultimate goal is for Yandex.Metrik to drop the results selected by users (Yes / No).
May have encountered?
case 0://radio?> <label> <input <?=$value?> type="radio" name="vote_radio_<?=$arAnswer["QUESTION_ID"]?>" value="<?=$arAnswer["ID"]?>" <?=$arAnswer["~FIELD_PARAM"]?> /> <?=$arAnswer["MESSAGE"]?> <span></span> </label> <br /> <?break?>- K.Mitnick