Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

window:global: _1d3 is undefined (http://localhost:8500/CFIDE/scripts/ajax/package/cfcalendar.js, li

Explorer ,
Apr 28, 2010 Apr 28, 2010

Has anybody ran into this error before?

window:global: _1d3 is  undefined  (http://localhost:8500/CFIDE/scripts/ajax/package/cfcalendar.js, line  43)

It would seem that it is related to my cfinput datefield. I have the ajaxproxyimport of rcfinput-datefield at the top of the page. What is weird is that I perform a simple cfif based upon values pulled from a db. The date is populated based upon that cfif. If nothing is pulled from the db, then it is blank. That is when I receive the error...when there is no data from the db. Here is the cfif code..

        <cfif isDefined('rsEmploymentedit.employmentfrom') AND rsEmploymentedit.employmentfrom NEQ "">
            <cfinput type="dateField" name="employmentfrom" mask="mm/dd/yyyy" value="#rsEmploymentedit.employmentfrom#" width="100">
        <cfelse>
            <cfinput type="dateField" name="employmentfrom" mask="mm/dd/yyyy" value="" width="100">
        </cfif>

Thoughts?

1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 29, 2010 Apr 29, 2010

So has anyone run into this before?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 29, 2010 Apr 29, 2010

I figured it out. The issue was not with the datefield but with a cfselect statement where I was missing my IIF statement in my selected attribute.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 01, 2012 Mar 01, 2012
LATEST

Thanks for the clue! I was running into a similar error, but only in IE8 because one of my other form fields was named "length". You set me on the right path of looking at other fields in the form. Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources