dc
|
| Posted: 03/12/2002, 5:19 PM |
|
I have successfully gotten the Tell a Friend sample to work with my website but have a slight problem. If a word containing an apostrophe is included in the message, it is received with a backslash in front of it in the email.
i.e. web form message: Don't use apostrophes.
email message received: Don't use apostrophes.
How can I avoid having the backslash present when the user adds a custom message?
Thanks
|
|
|
 |
Tom
|
| Posted: 03/13/2002, 1:43 AM |
|
try to replace slash with empty space in message body
|
|
|
 |
dc
|
| Posted: 03/13/2002, 4:53 AM |
|
Thanks for the response! How would I go about doing that? Just for clarity, the form itself would have to correct the problem and not the user. In other words, I can't have a visitor type in some adjustment that would correct the problem. I don't think that's what you meant, though.
Would your solution result in the email message looking correct or simply adding a blank space as opposed to the backslash?
i.e... Desired result = Don't use apostrophes.
Does your solution = Don 't use apostrophes as opposed to Don't use apostrophes or would it result in the desired message?
Sorry for the lack of understanding.
Thanks
|
|
|
 |
Tom
|
| Posted: 03/13/2002, 12:34 PM |
|
Not sure what language you are using but in CF you use the #PreserveSingleQuote# command as the apostrophe is being 'escaped'
|
|
|
 |
|