[thelist] CF: IsDefined() and Len() in one?

Seth Bienek seth at sethbienek.com
Mon May 7 00:23:21 CDT 2001


Hey Frank,

> Is there a function that serves to perform both IsDefined() and
> Len()?

In a word - no. :)

If you're talking about the cumbersome task (in CF at least) of working with
form data and re-using forms, one thing you might consider doing is
CFPARAMing your form field values together at the top of the action template
and checking for len (since the value will have already be defined) in the
processing portion of the template.

Of course, depending on what else you're doing with the form values, this
could just open up a whole new can of worms.. ;)

Take Care,

Seth

------------------------------
Seth Bienek
Solutions Development Manager
Stonebridge Technologies, Inc.
972.455.7294 tel
972.404.9754 fax
ICQ #7673959
------------------------------






More information about the thelist mailing list