| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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"> |
|
#2
| |||
| |||
| it worked for me as soon as i gave cfcalendar a proper name. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ |
|
#3
| |||
| |||
| 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,SU BMIT,RESET,IMAGE. |
|
#4
| |||
| |||
| datefield cfinput type in html forms is supported in cf8 only. in cf mx 7 datefield type is supported in flash form only. before cf mx 7 datefield type did not exist. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ |
|
#5
| |||
| |||
| 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,SU BMIT,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 .. |
|
#6
| |||
| |||
| I think I am confused. I basically copied the livedocs code for cfcalendar. I guess I don't understand how I get the calendar popup if I chance the cfinput type. I am going bonkers over here. Really I just want a basic sample of how to use cfcalendar. I am all excited about the new feature and can't figure it out. |
|
#7
| |||
| |||
| you do not need the cfcalendar tag to have a pop-up calendar - just need a datefield type cfinput: <cfform name="form2"> Start Date: <cfinput name="startdate2" type="datefield"> </cfform> i personally see little value in cfcalendar tag in html forms. i also do not like the limited functionality of datefield pop-up calendars, like in order to go to a different year you have to scroll through all the months! they should have made the month and year as drop-down selectors. my personal favourite is the datepicker jquery plug-in, which is part of jQueryUI (http://ui.jquery.com/): http://docs.jquery.com/UI/Datepicker Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ |
|
#8
| |||
| |||
| Couple things here... I am using cf7 so the datefield is not going to work. Also, I agree on the limitations of the datefield. However, I'll be using it for a very small timeframe and in this case it presents a good option for data validation and improved user experience. |
|
#9
| |||
| |||
| idesdema wrote: > Couple things here... I am using cf7 so the datefield is not going to work is it? I did try that > approach with my form format="flash" and still got the same error. The documentation says datefield is only allowed with flash forms. Are you certain you are using format="flash"? I tried the example from the documentation and it works fine with MX 7,0,2,142559 . http://livedocs.adobe.com/coldfusion...s/00000279.htm <cfform name="myForm" format="flash"> <cfinput name="startDate" type="datefield" label="date:" mask="mm/dd/yyyy"/> </cfform> |
|
#10
| |||
| |||
| 2 errors Line: 4 Char: 1 Error: Syntax error Line: 17 Char: 1 Error: Object expected |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.