I'm not sure where to begin to be honest, if you want to stick with using cfinput comment out all of them and introduce them one at a time till you find the one(if it is just one) that's causing problems.
Ade -----Original Message----- From: Colin Coles [mailto:[EMAIL PROTECTED] Sent: 03 March 2005 14:15 To: CF-Newbie Subject: Re: Required fields to appear in order? Thanks for the response Ade. I've added the following to the page and disabled the 'required' element from the CF input fields the code below doesn't appear to work at all. <script language="JavaScript" type="text/javascript" src="/CFIDE/scripts/cfform.js"></script> <script language="JavaScript" type="text/javascript"> <!-- function _CF_checkCFForm_1(_CF_this) { if (!_CF_hasValue(_CF_this.firstname, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.firstname, _CF_this.firstname.value, "Please enter your First name.")) { return false; } } if (!_CF_hasValue(_CF_this.lastname, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.lastname, _CF_this.lastname.value, "Please enter your last name.")) { return false; } } if (!_CF_hasValue(_CF_this.email, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.email, _CF_this.email.value, "Please enter your email address.")) { return false; } } if (!_CF_hasValue(_CF_this.contrib_title, "TEXT" )) { if (!_CF_onError(_CF_this, _CF_this.contrib_title, _CF_this.contrib_title.value, "Please enter the contribution title.")) { return false; } } if (!_CF_hasValue(_CF_this.theme, "SELECT" )) { if (!_CF_onError(_CF_this, _CF_this.theme, _CF_this.theme.value, "Please enter the theme that your file addresses.")) { return false; } } if (!_CF_hasValue(_CF_this.contrib_type, "SELECT" )) { if (!_CF_onError(_CF_this, _CF_this.contrib_type, _CF_this.contrib_type.value, "Please enter the contribution type.")) { return false; } } return true; } //--> </script> Colin Coles ICT Development Manager John Cabot City Technology College Tel 0117 976 3000 Ext 2112 Mobile: 07734395347 E Mail: [EMAIL PROTECTED] Alt: [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:709 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
