Skip to main content
September 3, 2008
Question

cfcalendar error

  • September 3, 2008
  • 12 replies
  • 1703 views
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

12 : <cfcalendar name="" selecteddate="#form.selectdate#" startrange="#form.startdate#" endrange="#form.enddate#" mask="MM/DD/YYYY" daynames="S,M,T,W,T,F,S" monthnames="January, February, March, April, May, June, July, August, September, October, November, December" width="200" height="150">
13 : <cfinput name="startdate" type="datefield">
14 : <cfinput name="enddate" type="datefield">
    This topic has been closed for replies.

    12 replies

    September 4, 2008
    Added the name...

    Attribute validation error for tag CFINPUT.
    The value of the attribute TYPE, which is currently "dateField", must be one of the values: TEXT,PASSWORD,HIDDEN,FILE,CHECKBOX,RADIO,BUTTON,SUBMIT,RESET,IMAGE.
    Inspiring
    September 4, 2008
    idesdema wrote:
    > Added the name...
    > Attribute validation error for tag CFINPUT.
    > The value of the attribute TYPE, which is currently "dateField", must be one of the values:
    > TEXT,PASSWORD,HIDDEN,FILE,CHECKBOX,RADIO,BUTTON,SUBMIT,RESET,IMAGE.

    The error seems clear enough. The type "dateField" is not allowed. Did you look at the documentation for <cfinput>? I suspect it explains why ..
    Inspiring
    September 4, 2008
    it worked for me as soon as i gave cfcalendar a proper name.

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/