I have a repeating group that is displaying items from a state.
The state has Name, Address , and Distance.
I have an input field called origin-address and a submit butto.
When the user click submit, I wish to calculate the distance field for each item in the state, based on the address of that state, and the address in an origin-address input box.
Once I have all the distances updated in the state list, I wish to sort the repeating group by the distance from the origin-address.
So I need to update one field (distance) on each items in the state.
Hi Viktor, since I cannot find how to do what I want, there is no video. Let me try to explain again.
I have a custom State on an element that is a list. Each item on the list has Date, Address, and Distance. I’m loading this State from the database when the page is loaded. Now I wish to update that state, but only the distance field of each item on this list, based on the actual distance from an address input. Another option is to eliminate the distance, and copy items from this list (Date + address) into another state-list, based on a distance criteria of the address. I couldn’t find how to do that either.
Ok, I’ve figured it out. I was not aware of the advance option in the filter action. With it I can filter a list based on a distance calculation into a new list.
Still, I think that there should be a way to update one field out of a multi field list. It looks like this feature is not supported.