I am trying to create an expense form (using the modern responsive form for Office 365), in which I have a repeating section with a row per claim.
The repeating section should contain:
- Claim Type: Hotel or Mileage
- Amount
- Mileage (hidden)
I successfully created a rule that:
- If Claim Type == Mileage shows the Mileage field and disables the Amount field
I am trying to create a rule that:
- Whenever Mileage is filled, sets Amount = Mileage * 0.45
When I try to define this rule I get an error, saying that the form control 'Mileage' is an array and not a number. How do I build this formula? I have attached a couple of screenshots.
Thanks,
Davide