Is there a way to pass the results of "Form.Dir_Access list" to a different template
other than "actDirectoryUpdate.cfm" in the <form tag?
On Wed, 16 Jul 2003 14:05:26 -0400, Dave Watts wrote:
> > Is there a way to check or display to an action page how many
> > checkboxes where selected from the below loop?
> >
> > <form action="actDirectoryUpdate.cfm?varAnchor=books" method="post">
> >
> > <input type="button" value="SelectAll"
> > name="Select_All_OMITDIR" OnClick="SelectAll('Omit');">
> > <input type="button" value="ClearAll"
> > name="Clear_All_OMITDIR" OnClick="ClearAll('Omit');">
> > <input type=submit name=submit value="Update">
> >
> > <cfloop index=dir_name list="#full_directory_list#">
> > <input type="Checkbox" value="#dir_name#" name="Dir_Access">
> > </cfloop>
> >
> > </form>
>
> In your action page, using CF, you can examine the number of values in the
> Form.Dir_Access list. When you have a form with a bunch of checkboxes with
> the same name but with different values, those will be represented in the
> action page as a single Form variable containing a comma-delimited list of
> values:
>
> You selected <cfoutput>#ListLen(Form.Dir_Access)#</cfoutput> directories in
> the form.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4