Forum Discussion

MalvikaMalho044's avatar
MalvikaMalho044
Community Member
12 months ago

Cards

Hi,

Why is number variable in the attached example not starting from 0 or 1 in reference column? It starts from 2.

Also, the variable count keeps on increasing with every click. How can the click be limited to 6 which is the number of the rectangles in the attached file?

regards

Malvika

  • Hi Malvika, 

    I tested your project file and it looks like the variable is correctly starting from 0 as shown in the screenshot. Clicking on a single card increases the value of the variable by 1. 

    As for your second inquiry, you can add a trigger to disable the functionality of the cards after the value of the variable reaches 6, similar to what is shown here: 

    I've attached a sample project file for your reference. 

    Hope. this helps!