I need a page that has 1 or more numbers with a plus and minus button next to it. For example: [-] 20 [+] And I can click the plus to add one and the minus to subtract one. Is it posssible?
If you are planning on just using 1 page I guess you could do a [[Add]] and [[Subtract]] with everything on it and just have different code. On add have something like
<<set $counter += 1>>
and subtract
<<set $counter -= 1>>
Make sure at the start to have it state
<<set $counter to 20>>
so it knows where to start and to view it on screen
<<print $counter>>
Hope I helped and if you have any further questions please ask .
Comments