https://codepen.io/okwong/pen/QWawgPV

guys, i’m stocked here. how do i restrict radio button in a way one can click one element and it stays clicked without being affected by another click in another element?

Hello @okwong01

Radio buttons are grouped together by giving them the same name. Only one Radio button in a group can be selected at a time. In your code, you are using the same name across all Radio buttons which groups all of them together & therefore only one can be selected at a time.

You may want to separate the different groups by using unique names.

that was very helpful, many thanks…

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.