I am building a shopping cart in a Gallery. I pull the description of the product from a collection to populate the Gallery control. I have a text input field so a user can type in a qty. I also added two buttons with plus symbol and minus symbol so a user can just tape the button to Increment the order quantity. I tried using the solution down below but it's updating every item in my collection. Example, if I tape the plus symbol button twice every item shows ordering two. What am I missing?
Use this code in the OnSelect property of your button.
Set(myPurchaseOrderNum, Value(TextInput1.Text) + 1);
Set(myPurchaseOrderReset, true);
Set(myPurchaseOrderReset, false);
Put this code in the Default property of your text input.
myPurchaseOrderNum