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.

--Original Message Text---
From: Bryan F. Hogan
Date: Tue, 28 Oct 2003 13:00:00 -0500

If they are checked they are available in the form structure on the response
page, if they where not checked they do not exist in the form structure.

<input type="checkbox" name="check1" value="1">

<cfif StructKeyExists(FORM, 'check1')>
    check 1 was checked
<cfelse>
    check 1 was not checked
</cfif>


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to