When you do it that way, the behaviour is not triggered. It would be nice if it did because if I could generate from a table rather than on page load I can concatenate some fields which woudl be handt (AND eleminitate leading zeroes)
1. Removed Universal Data Export that was already on the page. 2. Added table, gave it an ID 3. Added fields and repeate region 4. Added Behaviour as above, uploaded all, no export.
Note: in post above I typed File Genie, that was a typo. I was having an issue with that extension as well on that day. Obviously I was using UDE.
Sorry but that makes no sense. I already have a link in place to a page where the export is being handled, the page then downloads as a CSV.
Am i supposed to be adding the JS link and then another behaviour to launch the page?
The situation i have at present is this:
1, Hyperlink on page, linking directly to the php file the produces the CSV 2, click link and CSV downloads, current page stays in browser.
The export has the header of filetype which forces it to download, I'm a bit confused as to how a JS link can possibly replace all the 0's.
Also slightly stumped why this cannot be fixed within the files the extension uses to create the export. Surely exporting numbers with leading 0's included should be as standard and not something i have to hack around to make work.