Here is the problem.
Background
My data query is based on poll data and returns totals
I have a repeat based on data returned
Each record has a type_id
in the event of type_id == 7, this indicated that the response is a text response rather than an pre selected option therefore cant be summed obviously
So as an alternative i want a button which, when clicked, runs a server action which concatenates all the text responses and downloads the file of responses. (for later use with AI)
To here I have no problems,
so i have a serverconnect->load attached to the click event which creates the file to download and also download action set
The issue is timing, the download fires before the server action completes and i cant find a way to either defer it or fire it from a dynamic action
Anyone any ideas?
