Hey all.

My question is really straight foward.

i had a form where i  have 2 radio buttons ( 1 true 1 false). Saved my information

And now i need to read only the radio buttons, is it possible?

What i have done was to put instead of 2 radiobuttons on my weblock i put 2 images inside na if. One with a Check and another with a Cross, and that does the trick for the user but that's mainly because i don't know it is possible to do it with the radio buttons.

Cheers

Hi Nuno, 

To disable RadioButtons, just set the Enabled property to False.

Cheers,
Eduardo Jauch

EDIT.

But personally I like the solution that "replaces" the inputs with expressions and images when the user shouldn't change them.

Thx Edu.

But does the RadioButtons hold the value inserted before?

Cheers

Hi, 

Yes. The Radio Button selected is defined based on the value that is defined in the variable that is associate with them :)

If the variable has a value that one of the Radio Buttons also have, this one will be selected, but disabled :)

Cheers,
Eduardo Jauch

Hi! Can I disable a radio button when selecting another radio button?

For example, If the user did not choose the closed radio button the LGU and Tenant radio button will be disabled 

Please see the image below.

HI Mark,

Yes you can it,see below image-

1. on the radio button have option enable/disable propert you can set here boolean variable for it.

2.have a option on change action you can use action on for and set variable false .

3. another radio button is disabed .



Regards

Rahul Sahu

Rahul Sahu wrote:

HI Mark,

Yes you can it,see below image-

1. on the radio button have option enable/disable propert you can set here boolean variable for it.

2.have a option on change action you can use action on for and set variable false .

3. another radio button is disabed .


Hi Rahul,

Thank you for your help. 

Sorry I'm actually new in using the outsystems

Can I actually have a step by step instruction on how can I disable the second button? 


Regards

Rahul Sahu

 

 

Hi Mark,

Please find attached the .oml file. Hope it helps.

Suprio Roy wrote:

Hi Mark,

Please find attached the .oml file. Hope it helps.

 It works. Thank you so much for your help!