There are two ways to access Structs (remember the Form scope, as
other CF scopes, are structs).

Dot notation:

<cfoutput>#form.foo#</cfoutput>

And bracket notation:

<cfoutput>#form["foo"]#</cfoutput>

Bracket notation is useful for cases when the key is dynamic:

<cfset key = "foo">
<cfoutput>#form[key]#</cfoutput>

As to your other question, go for it, but I'd start a new thread here.
I can't promise I'll be quick to respond tomorrow.

On Tue, Aug 9, 2011 at 2:53 PM, Mo Lay <[email protected]> wrote:
>
>>You probably want
>>
>><cfoutput>
>>#form["StartDate#i#"]#<br/>
>></cfoutput>
>>
>>
>>>
>
> Thanks Raymond. You're very helpfull.. it works .But whre is the "dot" after 
> the word FORM ?
>
> Also do you mind asking another important idea i want to implement but i do 
> not know how ?
>
> thanks
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5420
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to