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

Element not found error despite use of cfparam

Contributor ,
Apr 01, 2009 Apr 01, 2009
Hello -

I was hoping someone could identify the problem with my form. Despite the fact that I have defined all of my inputs with cfparams at the top of the page, unless all of the fields are filled out, I get 'Element not defined' errors for any fields not filled out.

I'm not seeing an "Attach Code" button so here's a link to a .zip of the page. Please let me know if you need anything else.
http://www.sfcatholicschools.org/new_employee.zip
1.3K
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

correct answers 1 Correct answer

Deleted User
Apr 01, 2009 Apr 01, 2009
I use the cfparam on the action page, not on the originating page. That way if a field came over without a value, it now has one.
Translate
Guest
Apr 01, 2009 Apr 01, 2009
I use the cfparam on the action page, not on the originating page. That way if a field came over without a value, it now has one.
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
Contributor ,
Apr 02, 2009 Apr 02, 2009
LATEST
I *knew* I would say "D'OH!"

I was confused because to build this form I used another one that was self-posting as a starter. That would explain why the cfparams were on the same page... it was both form and action page.

Hopefully I'll get to build one or two more of these and then I'll get the hang of it. Thank you so much 😄
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