How to set default or back to default toggle if toggle are true

Hi Rama,

I cannot understand what your problem is. Can you give more details?

Regards,

Daniel

Vijay Malviya wrote:


Hi ,

Can you please be more specific? Where does that happen? Can you share a print?

Vijay M-

 Isn't that what I alraedy asked for?

 

Rama Tihara wrote:

How to set default or back to default toggle if toggle are true

 Hi Rama,

could you please share your sample OML file so that i understand better what exact you need to do.

- AV

Thanks


 

Daniël Kuhlmann wrote:

Hi Rama,

I cannot understand what your problem is. Can you give more details?

Regards,

Daniel

 I have switch (toggle) widget and variable of the widget is a boolean with default value is false and if i onChange a toggle i assign a variable to true and toggle change, but i'm not understand how to restore the toggle to false and toggle changed to default again


Thanks

 

Hi Rama,

Did you have a look at the available OutSystems documentation that explains the usage?

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Inputs/Switch_or_Toggle_a_Boolean_Value 

Regards,

Daniel

Daniël Kuhlmann wrote:

Hi Rama,

Did you have a look at the available OutSystems documentation that explains the usage?

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Inputs/Switch_or_Toggle_a_Boolean_Value 

Regards,

Daniel

Ya but i still not understand

 

Daniël Kuhlmann wrote:

Hi Rama,

Did you have a look at the available OutSystems documentation that explains the usage?

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Inputs/Switch_or_Toggle_a_Boolean_Value 

Regards,

Daniel

Ya but i still not understand

 

Can you share your OML?

Rama Tihara wrote:

Daniël Kuhlmann wrote:

Hi Rama,

Did you have a look at the available OutSystems documentation that explains the usage?

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Inputs/Switch_or_Toggle_a_Boolean_Value 

Regards,

Daniel

Ya but i still not understand

 

Hi,

I got what you mean and OS doesn't support thing like that. I think you should create a variable to keep the default value, a variable to hold the value for switch -> every time you want to reset you switch, just assign the default variable to your switch variable

Hope this help