Re: covertchars db to keep CR's, but not new ones
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44216
interpreted = N
texte = WebDNA has standard tools for dealing with text area contents, once you figure out what tools to use where.Writing to the DB:&dbField=[url][submittedtext][/url]Editing the field in a text area:
Displaying the field as HTML text:[convertchars][dbField][/convertchars]The [url] converts odd characters (returns, tabs, ampersands) into escape sequences to avoid screwing up the WebDNA syntax. WebDNA automatically converts returns into %0B characters when writing to the DB so they aren't interpreted as record terminators.The [input] converts odd characters (returns, quotes) into html tokens which areThe [convertchars] without specifying a DB uses StandardConversions.db, which includes records for turning returns (which are %0B in the DB) into
s and dealing with other problematic characters as well.- brianAt 4:49 PM 10/17/02, Gary Krockover wrote:>Hi all,>>I have a simple db for a convertchars on textareas:>>Add.db>>from to>%0D
>>>Works on initial data entry, but each time the record is updated and>submitted, it adds additional
tags. What would be the proper database>to use for this instance?>>Thanks!>GK-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
WebDNA has standard tools for dealing with text area contents, once you figure out what tools to use where.Writing to the DB:&dbField=[url][submittedtext][/url]Editing the field in a text area:Displaying the field as HTML text:[convertchars][dbField][/convertchars]The [url] converts odd characters (returns, tabs, ampersands) into escape sequences to avoid screwing up the WebDNA syntax. WebDNA automatically converts returns into %0B characters when writing to the DB so they aren't interpreted as record terminators.The [input] converts odd characters (returns, quotes) into html tokens which areThe [convertchars] without specifying a DB uses StandardConversions.db, which includes records for turning returns (which are %0B in the DB) into
s and dealing with other problematic characters as well.- brianAt 4:49 PM 10/17/02, Gary Krockover wrote:>Hi all,>>I have a simple db for a convertchars on textareas:>>Add.db>>from to>%0D
>>>Works on initial data entry, but each time the record is updated and>submitted, it adds additional
tags. What would be the proper database>to use for this instance?>>Thanks!>GK-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Brian Fries
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Problem with ShoppingCart.tpl refresh (2000)
Ok here is a question? (1997)
4.5's frequency of math problem running as demo? (2002)
Looking up two prices in database? (1997)
mass mailing (1998)
Re:Subject: Mail Server Software (1998)
I'm new be kind (1997)
Shipping Help! (1998)
Suggestions on best way to work with yyyy/mm/dd (1997)
php vs WebCatalog (2000)
Sort Order on a page search (1997)
Confused about Grep Syntax (2004)
[Webcat 2]Next (1997)
Return records from another (1997)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
BUG NOTICE: (2003)
Help name our technology! I found it (1997)
setting taxable to true (1997)
ShowIf & HideIf Question? (1998)
multiple databases (1997)