Question

I am using a simple Pizza order form, which contains some basic details and a toppings section - Toppings. It is a repeating section which contains a drop box to select the topping.

Now, each time a topping is added, I want a text field ToppingTotal to be updated with the number of toppings.

Here's what I did:

  • Added a Rule on Toppings which runs whenever section is changed
  • Set the action to set the value of ToppingTotal to count(.)

The rule does run each time a topping is added, but the value of ToppingTotal is set each time to 1.

Can someone point in the right direction? Thanks.

Était-ce utile?

La solution

Add function

count(select Toppings from repeating section)

to value textbox from ToppingTotal property.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top