Counting no. of sections in a repeating section group
-
08-10-2020 - |
Vra
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
tocount(.)
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.
Oplossing
Add function
count(select Toppings from repeating section)
to value textbox from ToppingTotal property.
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan sharepoint.stackexchange