• Home
  • About George
  • Contact Me
Blue Orange Green Pink Purple

datefield cfinputs and _f is undefined

Posted in ColdFusion. on Wednesday, June 17th, 2009 by George Tags: ColdFusion
Jun 17

So there have been two occasions I’ve run into this error on a page – and it’s very ambiguous and hard to track down both times I’ve experienced it.  Fortunately, both times have also involved a very easy solution once I looked through the page for the 40th time.  The first time I encountered this, the previous form designer had named both cfforms on the page the same thing.  While this worked, it’s never advisable.  By doing this, the cfcalendar script could not locate the item because it couldn’t track down the form properly.

The second time I ran into this – just a few moments ago – was the same problem surfacing because the declaration for the form had been placed inside the declaration for the table.

1
2
3
<table>
         <form></form>
</table>

This just did not sit well with the browser, being invalid and all.  Once I moved them outside of that formation and made it this:

1
2
3
<form>
      <table></table>
</form>

it worked like a champ.    Hopefully this helps someone out there with this error in the future!

5 Comments

  1. Sandra on November 4th, 2009

    Thank you so much! I was having this issue for hours and couldn’t figure it out why. People like you make our job easier :)

  2. Rayan on March 3rd, 2010

    You are a hero, you just saved my life

    Thanks for the tip

  3. alex on April 1st, 2010

    you rock!

  4. Ashok Ramkumar on May 27th, 2010

    Hey man… you are great… you saved several hours of mine to find about this issue.

  5. Lucy on June 22nd, 2010

    Thank you! Thank you! Thank you! Great solution…it works!



Leave a Reply

Web Development By George

  • Pages
    • About George
    • Contact Me
  • Tags
    Access Ajax asp.net ColdFusion coldspring cross browser CSS Databases Design errors firefox Flash Flex Hosting html ie ie7 JavaScript Merge Model-Glue PCI Compliance Personal prototype script.aculo.us server monitor split function Subclipse Subversion tab tabview web service YUI
  • Archives
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • November 2009
    • October 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
  • Search




Add to Technorati Favorites

  • Home
  • About George
  • Contact Me

© Copyright Web Development By George. All rights reserved.
Designed by FTL Wordpress Themes brought to you by Smashing Magazine

Back to Top