I get it.

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 10:03 PM
To: CF-Talk
Subject: RE: to add to that...


yes, well...kinda.

i have this

<input type="radio" name="id" value="109">
<input type="text" name="parameter1109">
<input type="text" name="parameter2109">

and there are like 12 sets of these, all increasing
the last 3 digits, and from that, only 1 id can
be selected, therefore i dont have to do any searching
for isDefined or anything, on any other field names,
and can simpy make the value of

<parameter1>#form.parameter1[id]#</parameter1>

which really should read "form.parameter1109" because i know
the value of "id" will be "109"

make sense? its really fast code...and doesnt require much
checking for the building of the xml tags.

tony



-----Original Message-----
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 10:59 PM
To: CF-Talk
Subject: RE: to add to that...


Tony,

Sorry - I'm not following you.  Are you saying you are passing the form
field concatenated with the id from the table or something?  This is not
clear to me yet.

-Mark

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 9:32 PM
To: CF-Talk
Subject: to add to that...


Element SELECTEDACCOUNTS is undefined in a Java object of type class
[Ljava.lang.String; referenced as

is what i am getting using this code...

    <scenario_id>#form.id#</scenario_id>
    <selected_accounts>#form.selectedAccounts[id]#</selected_accounts>
    <parameter1>#form.parameter1[id]#</parameter1>
    <parameter2>#form.parameter1[id]#</parameter2>

where i could expect to get this, and am getting this, in my cfdump of
form variables

        form.id parses to "109"
        form.selectedAccounts109 parses to "1109"
        form.parameter1109 parses to "123.00"
        form.parameter2109 parses to "1500.00"

any ideas?

thanks.

tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to