Skip to main content
Inspiring
August 16, 2013
Answered

Element " " is undefined

  • August 16, 2013
  • 1 reply
  • 887 views

Any idea about the below error. I am getting this while submitting a form but this happens only in production.

'Element '' is undefined in a Java object of type class coldfusion.filter.FormScope'

Please help if any one have come across the same situation.

    This topic has been closed for replies.
    Correct answer Adam Cameron.

    It's a bit difficult to say anything without the full error message and the code it relates to.

    But what does the error say: you're trying to reference a form variable, that doesn't exist. I suspect this is because you're trying to reference a form variable, that doesn't exist. Just a guess.

    The curious bit is that said form variable doesn't appear to have a name. I suspect you've got some code that acts on dynamically-named form fields, and the code has a logic error in it.

    --

    Adam

    1 reply

    Adam Cameron.Correct answer
    Inspiring
    August 16, 2013

    It's a bit difficult to say anything without the full error message and the code it relates to.

    But what does the error say: you're trying to reference a form variable, that doesn't exist. I suspect this is because you're trying to reference a form variable, that doesn't exist. Just a guess.

    The curious bit is that said form variable doesn't appear to have a name. I suspect you've got some code that acts on dynamically-named form fields, and the code has a logic error in it.

    --

    Adam

    Inspiring
    August 16, 2013

    Thanks Adam.... I got the issue. I was following the way you showed me. Actually a value returning from LDAP is using inside a form structure but it was empty.

    Really appreciating your help.