Hi,

I have a <form> where I'm listing a bunch of check boxes. I want to be able to pass 
the results of the checkboxes (how many checked) to my template via a URL.
How can I do this? Here is what I have.

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<form action="Update.cfm?varAnchor=#FORM.Dir_Access#" method="post">

                <cfloop index=dir_name list="#full_directory_list#">
                <cfif listLast(dir_name, "\") NEQ "books">
                        <cfif findnocase("books",dir_name,1)>
                                <cfif columnmode EQ 1>
                                        <tr valign="top">
                                </cfif>
                                <td class="wdirlinks">
                                        <table cellpadding="0" cellspacing="0" 
border="0">
                                                <tr valign="top">
                                                        <td class="wdirlinks" 
valign="top">
                                                        <input type="Checkbox" 
value="#dir_name#" name="Dir_Access" <CFIF 
LISTCONTAINS(qGetData.strShowMe,dir_name,",")>Checked</CFIF>></td>
                                                        <td 
class="wdirlinks">#listLast(dir_name, "\")#</td>
                                                </tr>
                                        </table>
                                </td>
                                <cfif columnmode MOD 5 EQ 0>
                                        <tr>
                                </cfif>
                                <cfset columnmode = columnmode + 1>
                        </cfif>
                </cfif>
                </cfloop>

</form>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to