I’m trying to set a session var in a trigger based on a form submission but am wondering how I can access the label of a radio button rather than the value. Similarly for checkboxes.
At the moment I have %globals_post_qXXXX:qXX% which only returns the value of the radio (e.g. 0,1,2) but I want the associated label.
Is there syntax for this or would I need to set the value via JS in the form?
On that, I tried to set all radios to have the label as the value and the form would not submit.