Radio Button List - dynamically generated based upon type selection
Question

hi,
I am working on Reactive Web App,
I am trying to generate a dynamic list of radio buttons which is dependent on selected type(PFA image for reference),
for example for type A there will 6 options shown in image for type B there are further various options

in the widget I do see an radio group widget but that gives the static options only i think, Please help

 

Hello @Malvika Singh,

Do you want to do something like this:

https://personal-xchr.outsystemscloud.com/Tests/SelectRadio

I have used the Radio Group inside a List.

I send in attach the OML if you want to use my solution.

Hope it helps,

Nuno R

SelectRadio.oml

Hi,

If the list of options is not changed for certain type (OR Type is static too). You can do your logic by list all your options with setting Visible property of RadioButton or using If widget.

Cheers,

Khuong

mvp_badge
MVP

Hi Malvika,


You can use a checkbox and change its style to a radio button:


I send you an OML in attachment with a working example.


Kind Regards,
João

ReactiveSandbox.oml

Hello Malvika,


I think this component solves the problem you are talking about.

https://www.outsystems.com/forge/component-overview/7497/dynamic-button-group-reactive 


Regards,

Jorge Rodrigues

Hello there, If you want to select multiple radio buttons, I think the best thing to do first before questioning is to look upon the forums. These questions have already been questioned and answered multiple times. I leave here some of the mentions and you can even take advantage of them.

https://www.outsystems.com/forums/discussion/69390/radio-button-like-checkbox-in-list/#Post279006

https://www.outsystems.com/forums/discussion/69127/reactive-radio-buttons

Hope you make it!

Kind regards,

Márcio


Hi Malvika,


I faced this problem before, and I solved it by creating a wrapper to the radio group component.

I published this component to forge, you can install it and see how I developed it or to use it directly.

https://www.outsystems.com/forge/component-overview/11262/dynamic-radio-group


Regards,

Hasan

Hello @Malvika Singh,

Do you want to do something like this:

https://personal-xchr.outsystemscloud.com/Tests/SelectRadio

I have used the Radio Group inside a List.

I send in attach the OML if you want to use my solution.

Hope it helps,

Nuno R

SelectRadio.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.