check boxes only submit variables if the box is checked, if it's not, it's 
like it never existed.  To get around this I usually make use of the 
CFPARAM tag on the page that the form post to.

i.e.
<CFPARAM FORM.checkbox_1="0">

so that later in your script when you call FORM.checkbox_1 you don't throw 
an error.
hope this helps,
Jordie

At 12:15 PM 4/16/2002 -0400, you wrote:
>Hi,
>
>I need to pass all the boxes checked to another template but the below only
>passes the first one?
>
>          <input class="formbuttons" type="checkbox" name="mcp"
>value="mcp">Must Change Password<br>
>          <input class="formbuttons" type="checkbox" name="ccp"
>value="ccp">Cannot Change Password<br>
>          <input class="formbuttons" type="checkbox" name="pne"
>value="pne">Password Never Expires<br>
>          <input class="formbuttons" type="checkbox" name="ad"
>value="ad">Account Disabled
>
>
>
>
>+-----------------------------------------------------------------------------------+ 
>
>
>Philip Humeniuk
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>+------------------------------------------------------------------------------------+
>
>
>
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to