Hi
How do I reset the value to "0" on the slider & text input when returning to the screen, I have a variable called sliderValue.
Onchange:
UpdateContext({sliderValue:Slider1.Value})
Plus icon:
UpdateContext({sliderValue: sliderValue + 1})
Thank you
I left out the reset as he/she mentioned resetting so I assumed that he/she had already added the reset function. I have ammended the solution to include this now.
Bear in mind your slider will not reset with that solution.
In the screen's OnVisible property, set the variable to zero and reset your slider control:
UpdateContext({sliderValue: 0});
Reset(Slider1);
on that screen's onvisible property just add: UpdateContext({sliderValue: 0}); Reset(SliderName);
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional