> If yes, how would it look. :)
>
> <cfif NOT isDefined("Form.Fieldnames")>
> <cfset Fieldnames = "CCType,CCNumber,CCID,CCMonth,CCYear,CCExpire">
> <cfloop list="#Fieldnames#" index="i">
> <cfset Form[i] = "">
> </cfloop>
> </cfif>
if (NOT IsDefined("Form.Fieldnames") {
Fieldnames = "CCType,CCNumber,CCID,CCMonth,CCYear,CCExpire" ;
for ( i=1 ; i LTE ListLen(Fieldnames) ; i = i + 1 ) {
form[ListGetAt(Fieldnames,i)] = "";
}
}
Jochem
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]