replace(form.description.... not replace('form.description'... form.description is the variable, 'form.description' is a string with the name of the variable.
--Ben Doom Rick Sanders wrote: > Hey list, > > > > I'm trying to replace double quotes for single quotes in a string using this > syntax: > > #Replace('form.description','"',"'","ALL")#"> > > > > However, it's giving back form.description in the output and not the actual > text from the textfield named "description". > > > > What am I doing wrong? > > > > Rick Sanders > > Webenergy > > Canada: 902-401-7689 > > USA: 919-799-9076 > > Canada: www.webenergy.ca > > USA: www.webenergyusa.com > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293208 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4