I have a “name” field in a repeating group, and i want to sort them ASC or DESC when the colume is clicked. However I only seem to be able to sort one way or th eother, is there a way to TOGGLE between ASC & DESC
Do you have a workflow that’s called when the header is clicked?
You can create a yes/no custom state on the “text NAME” set as “no” by default. Your repeating group do a search sorted ASC.
Define a condition on your repeating group like “when text NAME custom state is yes” then default value is search sorted DESC.
Finally create an event that when you click on “text NAME” it sets the text NAME’s custom state to “text NAME custom state is no”.

