without a prefix (or arguments[1] and arguments[2]).
Pascal
> -----Original Message-----
> From: Adrian Lynch [mailto:[EMAIL PROTECTED]
> Sent: 31 August 2004 17:22
> To: CF-Talk
> Subject: [Spam?] Second Pair Of Eyes
>
> Can anyone see something wrong with this, working on CFMX but failing
on
> CF5
>
> <cfscript>
> function formValue(formName, defaultValue) {
>
> if ( IsDefined("FORM.#ARGUMENTS.formName#") ) {
> return HTMLEditFormat(FORM["#ARGUMENTS.formName#"]);
> } else {
> return HTMLEditFormat(ARGUMENTS.defaultValue);
> }
>
> }
> </cfscript>
>
> Error resolving parameter ARGUMENTS.FORMNAME
>
>
> Is this ok on CF5..?
>
> IsDefined("FORM.#ARGUMENTS.formName#")
>
> What about...
>
> FORM["#ARGUMENTS.formName#"]
>
> Thanks, just need someone else to look at it as it seems ok to me.
>
> Ade
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

