Hey all, I'm new to this list and hope this hasn't already been done before. You might want to add the following lines of code to fix 2 issues I found with this tag. Both cases involve using the datepicker as a single textbox (busetextbox="Yes"). 1) If nothing is typed in the form field and you tab or click out of the box - it was triggering an error message. Add these lines to the code to fix this (without the line numbers of course): 392 // tpullis - added this 2 line fix - if date is blank, don't do error checking 393 if (thisDate.length == 0) 394 return true; 2) When getting the error "Invalid date. Please use the format mm/dd/yyyy", focus is not returned to the form field which caused the error. I found the following line of code was left out by the Allaire folks. 408 document.forms[#formName#]["#formFieldName#"].focus(); // tpullis - added this line of code to return focus to form field element <signature from="Troy Pullis" title="Web Developer" company="Syntegra, USA" phone="651-415-4350"/> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
