[thelist] evaluate Cold Fusion variable with hyphen
Chris Murtland
chris at studiomoxie.com
Thu Sep 23 13:55:03 CDT 2004
I'm having trouble debugging this problem. I am looping through some
dynamically named form variables, which are named status12345, where the
number portion is dynamic. I then use Evaluate once the form is submitted.
This works fine on all numbers... except ones that have a hyphen in them.
Evaluate("form.status#myquery.mynumber#")
[where myquery is a query I loop through after form submission]
If the number is in the form 123456-1, the Evaluate function seems to
strip off the '-1' from the end and therefore I get an error about an
undefined form field.
Thanks in advance for any ideas,
Chris Murtland
--
Pixicom
www.pixicom.com
More information about the thelist
mailing list