I am using CFDIRECTORY to display the contents of any selected directory in a form. Each filename is loaded to an array and has a checkbox next to it, so that it can be marked for deletion, the value of which is also assigned to an array.
I am then attempting to pass the 2 arrays to another template where I can perform a CFFILE delete for files corresponding to each 'checked' box.
I am so nearly there but cannot pass the arrays to another template. I have tried creating a function to build a list of filenames as each box. I am assuming I can pass a list to another template ? However, I cannot get this going either !
I am sure that this has been done by someone out there - any clues, I am pulling my hair out.
Beejay
I am then attempting to pass the 2 arrays to another template where I can perform a CFFILE delete for files corresponding to each 'checked' box.
I am so nearly there but cannot pass the arrays to another template. I have tried creating a function to build a list of filenames as each box. I am assuming I can pass a list to another template ? However, I cannot get this going either !
I am sure that this has been done by someone out there - any clues, I am pulling my hair out.
Beejay