<cfloop...
<input type="checkbox" name="submit" value="#filename#">
<a href=""> </cfloop>
On your action page, you will have a comma delimited list of files to download in the var form.submit.
-----Oorspronkelijk bericht-----
Van: Bushy [mailto:[EMAIL PROTECTED]
Verzonden: di 28/10/2003 19:22
Aan: CF-Talk
CC:
Onderwerp: RE: Passing <input selections to another template?
OK...Maybe I'm missing something or most likely didn't explain it properly.
For example I have the following:
<form action="" method="Post" target="right">
<input type="submit" name="download" value="Execute">
<cfdirectory...
<cfloop...
<input type="checkbox" name="submit" value="download">
<a href=""> </cfloop>
</form>
The above would produce something like this:
[ ] filename1.txt
[ ] filename2.txt
[ ] filename3.txt
[ ] filename4.txt
[ ] filename5.txt
[ ] filename6.txt...etc.
If I clicked on the following how can I pass all the item checked to my action-template.cfm?
[X] filename1.txt
[ ] filename2.txt
[X] filename3.txt
[X] filename4.txt
[ ] filename5.txt
[X] filename6.txt...etc.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

