The columns I want to include in my CSV Export will vary depending on how the form is filled out. I've got the column list loading into a variable (such as $form->data['columns'] = "id, name, email";) but how do I get the variable to work with the Columns/Titles field in the CSV Export action?
Forums
CSV Export - Dynamic columns
Hi Megana,
Hmmm - I've never seen this request before. I suspect you might be able to get it to work by specifying a data path i.e. a sub-array of the $form->data[''] array to export then, using Custom code to select the inputs in the sub-array, you can probably do this.
Bob
Hmmm - I've never seen this request before. I suspect you might be able to get it to work by specifying a data path i.e. a sub-array of the $form->data[''] array to export then, using Custom code to select the inputs in the sub-array, you can probably do this.
Bob
This topic is locked and no more replies can be posted.