Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you deal with double quote?
Message
 
To
27/11/2001 20:07:19
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00586726
Message ID:
00588950
Views:
34
You can use FixHTMLForDisplay() around your expressions to do this... It fixes up quotes and HTML markup tags.

Something like this:
<%= FixHTMLForDisplay( lcSomeTextToDisplay ) %>
+++ Rick ---

>The method MergeText() in the Eval object in WWC does not convert double quote characters, for text variable types, into its equivalent syntax. Thus, our HTML form delimeters for the values, when the type is TEXT, will get cut as the browser things that this is the end of the value.
>
>For example, a value such as:
>
>
>This is my wonderful "nice" value
>
>
>will appear as
>
>
>This is my wonderful
>
>
>in the value of the text box.
>
>I had to manually add something in the method to check for character variables and STRTRAN any double quote characters into its HTML equivalent.
>
>I never faced that situation and thought it was done automatically by WWC. But, this is not the case. Wouldn't it be better if that would be part of that method natively by WWC?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform