Bootstrap4 Radio Button Text

Is there a way to programmatically get the text of the radio button chosen by the user at runtime?


Function Button1_onclick()
End Function

This sort of thing?

Sorry, think I read your question wrong. I couldn’t see a way of doing it short of duplicating your items into an array, and then accessing the item in the array that matches radiobutton1.value.

$("#Radiobutton1_" + Radiobutton1.value).attr("value")
1 Like

FYI - Sample Bootstrap4 Radiobutton project has this (which doesn’t work):

Both seem to work!