If I'm using code like this:

<cfloop index="QuestionNumber" from="1" to="#Form.TotalQuestions#" step="1">
        <CFSET Form.NumericAnswer=Form["Question"&QuestionNumber]>
</CFLOOP>

Is there a way to use IsDefined to check to see if the form variable has 
been defined?  I tried
<CFIF IsDefined("Form["Question"&QuestionNumber]")>

but I get the error
Invalid parser construct found on line 8 at position 25. ColdFusion was 
looking at the following text:Question

T

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to