I'd recommend <cfif structkeyexists(form,"formuid") and
listfindnocase(getclientvariableslist(),form.formuid)>
.. do stuff here...
</cfif>
imho it's a bit cleaner, ymmv
Isaac
Original Message -----------------------
Bah...I figured it out.
IsDefined("#varpart1##form.formuid#")
Is actually checking for a variable named "client.#form.formuid#",not
for each element that makes up that single variable name..so that's why
its blowing.
I need to put another IsDefined infront that to test whether
form.formuid exists.
Thanks all :)
-Gel
-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]
Umm....I'm at a loss why I get an error with this code:
<cfif isdefined ("#VarPart1##form.FormUID#")>
The error is ..Form.UID is undefined in Form...
But...umm... That's exactly what I'm checking for. If it isn't
defined..then I don't want the code to run.. Sooo...errr..why is it
throwing an error? I need to check for the compound variable AND each
individual variable as well?
-Gel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5