15
Views
2
Comments
Solved
Increment local variable's value on button click
Application Type
Reactive


Hi 

I am new to Outsystem and learning it.

I just can't understand on button click how can I increment the local variable's value.

For your reference, I was going through Courses. And in that, i am not understanding above thing in (Demo: How to Use a If Widget ). Here they have not specified how local variable's value is changed on button click.


Thanks.



Rank: #407
Solution

Hi Puja, 

Just use an assign and increment the value there 

val1=val1+1

See the screenshot for reference 

Capture.PNG

Rank: #15997

Hi Pranav,

Thank you for your quick response.  I've tested according to your sent image and it worked. 

Thanks for your help.