Did not test it but I think this would work: IsDate("#Form.day#/#form.Month#/#Form.Year#")
May need to switch the placement of the day and the month. I personally would use a CreateDate function either within the IsDate function or on a variable that is then used in the IsDate function. On 6/15/07, Robert Harrrison <[EMAIL PROTECTED]> wrote: > > I validate dates all the time, but in this case I have to combine three > separate fields and validate if the date is valid. > > code is: > > <cfif IsDate(form.day/form.month/form.year) is false> > BAD DATE > </cfif> > > Anyone see what's wrong here. It's not validating. > > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 > T : 631.231.6600 Ext. 119 > F : 631.434.7022 > www.austin-williams.com > > Great advertising can't be either/or... It must be &. > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.8.17/850 - Release Date: 6/15/2007 > 11:31 AM > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281332 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4