I’d like to do a calculation on the round trip miles for an address selected from a dropdown to calculate the expense amount.
I’m running into trouble with the address constraint.
I need to find the address that was chosen from the dropdown in my data and then get its round trip miles.
I was able to get a result using :first item thinking that my constraint would yield a list with one item and then the first item is the only item.
But the result was incorrect leading me to think that my constraint isn’t working.