Resetting ButtonGroup on page load

Resetting ButtonGroup on page load

  

Hi, I have a mobile app where 10 questions are there each having an otpion to choose from 1 to 10. I want to reset the previously selected values while the page is loaded for another time. Basically on group button item click I am saving the selection into an attribute of an entity. the same is stored while clicking on submit button. but when I am loading the form again, the previusly selected values are displayed intially.

Hi prasanta.

This is weird. Can you send your espace? Or a photo of your group settings

Fábio Oliveira wrote:

Hi prasanta.

This is weird. Can you send your espace? Or a photo of your group settings

I got a link https://www.outsystems.com/forums/discussion/36872/server-actions-on-initializing-a-screen/ can I use Preparation action to call the reset functionality?


Hello Prasanta,

Did you already finished the Mobile Developer Guided path?
It is important to do a proper training before trying to use OutSystems.

1. There is no Preparation in Mobile.

2. If you change the value of a variable associated to a widget in the screen, this will triger a Render event and the widget will be redraw.

This sould be enough to solve your issue.

Let us know if you need more help.

Cheers.