Yes,
I did follow that route too, but it doesn't store anything in the tables when I do <input type="checkbox" name="bAllowLink" id="bAllowLink" value="1" <cfif bAllowLink>checked="checked"</cfif>> Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of AJ Mercer Sent: Friday, 4 May 2007 12:15 PM To: [email protected] Subject: [farcry-dev] Re: Still need an answer to checkboxes in custom types In this example, the input does not have a value attribute maybe something like this would work <input type="checkbox" name="bAllowLink" id="bAllowLink" value="1" <cfif bAllowLink>checked="checked"</cfif>> You will also need to define a default value of 0 (zero) in case the check box is not checked I am assuming you have deployed you new type. On 5/4/07, Andrew Scott <[EMAIL PROTECTED]> wrote: I am still trying to find a solution to extending a type, with a checkbox. I know that in V3.01 that the core uses the DBGateway to decide what to do, my question is this I can't make changes to the core as the system is on a hosted server. So I need to be able to put a checkbox into the extended type, and have it save to the database and populate when the type is then displayed. I followed the wiki directions, to create and extend the dmNavigation and placed <input type="checkbox" name="bAllowLink" id="bAllowLink" <cfif bAllowLink>checked="checked"</cfif>> The problem is that the dbgateway cracks it because the properyValue doesn't exist, and if it does it cracks it because it can't convert on to a Boolean. Someone out there must know how to do this, surely. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- If you are not living on the edge, You are taking up too much space. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
