On Jan 21, 2008 9:26 AM, Richard White <[EMAIL PROTECTED]> wrote: > just wondering if anyone has done a review on what characters i can allow the > user to input into form fields that wont cause problems in javascript and > coldfusion. > > for example, if we allow them to enter a carriage return then when we get > data out of the database, if we use that value in a js array for manipulation > on the client then it will come up with unterminated string literal errors > > so i suppose its not just standard characters for standard forms but a full > review of what characters cause problems in any situation in javascript and > what cause problems in coldfusion
tried using JSStringFormat()? -- "Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter." - Dave Barry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296981 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

