I've read here several times that I shouldn't use the Evaluate function as
it degrades performance. Would someone show me how I can re-write the code
below so I don't? This code takes the previously submitted form fields and
values and converts them to hidden form fields with the old values.
<!--- set hidden fields from form fields --->
<CFLOOP ITEM="formElement" COLLECTION="#FORM#">
<INPUT TYPE="Hidden" NAME="#Lcase(formElement)#"
VALUE="#Evaluate("FORM.#formElement#")#">
</CFLOOP>
Thanks,
Simon Park
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists