
Hi,
I'm trying to send an email with information based on which button is selected in a gallery item. I.e. if low stock is chosen for dogs, then in stock for wedges, then empty for saddles, I want to send an email requestion more inventory based on the Min Max values.
My question is: How do i get the dynamic data from each gallery item based on which button is selected.
Hi @eobrie22 ,
You might consider saving every selection of a user to a collection. For example:
Set the 'IN Stock' button's OnSelect property to:
RemoveIf(TheCollection,Title=ThisItem.Title);
Collect(TheCollection,{Title:ThisItem.Title,Selected:"In Stock"});
Set the 'Low Stock' button's OnSelect property to:
RemoveIf(TheCollection,Title=ThisItem.Title);
Collect(TheCollection,{Title:ThisItem.Title,Selected:"Low Stock"});
Set the 'Empty' button's OnSelect property to:
RemoveIf(TheCollection,Title=ThisItem.Title);
Collect(TheCollection,{Title:ThisItem.Title,Selected:"Empty"});
Best Regards,
Bof