Question
<cfif isdefined is not working
I am using cold fusion 8 to develop forms. I need to check if
user has entered a value of type "text". If not then a message has
to Cfoutput. i am using the following code:
<cfif not isdefined("form.question")>
<cfoutput> Enter question
</cfoutput>
</cfif>
The problem is even f nothing is entered in the Question Field, the message Enter question is not being displayed. Its as is the <cfif not isdefined("form.question")> is not at all being recognised.
I also tried <cfif not isdefined("form.question_now")>
Please help.
<cfif not isdefined("form.question")>
<cfoutput> Enter question
</cfoutput>
</cfif>
The problem is even f nothing is entered in the Question Field, the message Enter question is not being displayed. Its as is the <cfif not isdefined("form.question")> is not at all being recognised.
I also tried <cfif not isdefined("form.question_now")>
Please help.
