let me read that properly
1 or 0

ok :)
 <cfparam name="FORM.checkboxname" default="0" />

<input type="checkbox" name="checkboxname" value="1" />

 <cfif  FORM.checkboxname>
 ..do something
 </cfif>


On Thu, 20 Jan 2005 22:40:57 +0100, Mark Drew <[EMAIL PROTECTED]> wrote:
> In the recieveing page set up
> <cfparam name="FORM.checkboxname" default="false" />
> 
> on the calling page put
> 
> <input type="checkbox" name="checkboxname" value="true" />
> 
> In your query or whatever do
> 
> <cfif  FORM.checkboxname>
> ..do something
> </cfif>
> 
> 
> On Thu, 20 Jan 2005 15:35:53 -0600, Donna French <[EMAIL PROTECTED]> wrote:
> > what's the best method for dealing with checkboxes?
> >
> > i want to insert a 1 if checked, a 0 if not.
> >
> > should i set the value in my form, or check the "checked" status in my
> > insert query and set the value there? i know this should be simple but
> > i've stared at it so long now i've confused myself.
> >
> > tia,
> > donna
> >
> > --
> > ------------------------
> > Donna French
> > [EMAIL PROTECTED]
> >
> > Blog: http://dgfrench.blogspot.com
> > Site: http://www.dgfrenchdesigns.com
> >
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: a new and convenient web-based time tracking application. Start 
tracking and documenting hours spent on a project or with a client with Logware 
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191278
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to