PDA

View Full Version : Unterminated String Constant



jlertle
Jul 17, 2008, 9:25 PM
I have a few fields in my table, billtoaddress and shiptoaddress, that contain CR/LFs.

When attempting to display the data, I tried textfield and textarea, I'm getting "Unterminated String Constant" errors.

I checked the debug and the javascript is getting split due to these CR/LFs.

What's the prefered method to avoid this?

It's an escaping issue but I'm not sure if the fix you are working on for Timothy's post, http://forums.ext.net/showthread.php?threadid=931-16-1.aspx, will fix this too.

Thanx in advance!