Radio Buttons to have separate label and value

Hello. I am wondering how to give a label to a radio button in Contentful and pass on a separate value to my web app.

That is, I want to pass the scaling details of an image, like “width 1, height 1” or “width 1, height 2” or “width 2, height 1”. The problem is, I am receiving the exact same string that is selected. It would be amazing if I could get a number, or simply another value in my web app. That is, a radio button should have a label, and a separate value being passed on to my web app. Is this possible?

1 Like