0 Replies Latest reply: Jun 30, 2010 1:30 PM by kodemonki RSS

    Getting Validation Error in IE8 with CFInput

    kodemonki Community Member

      I have an html cfform filled with cfinputs that ask for dates (type datefield), validates the date, but isn't required.  In Firefox, if I submit the form it works fine.  In internet explorer it gives me the error message stating that there's an error in the text.  When I take out the "validate" attribute it works fine in IE, but I would still really like input that *is* given some validation using the CF tools, especially since the users for this site are not Americans.

       

      Works in FF, not IE:

       

      <cfinput required="no" type="datefield" name="#checklist_id#_planned" value="#input_name#" validate="date">

       

      Works in FF and IE:

       

      <cfinput required="no" type="datefield" name="#checklist_id#_planned" value="#input_name#">

       

      Does anyone have an idea as to how to validate non-reuqired form inputs client side, using CF, in IE?  Thanks!