Re: ConvertChars
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 27884
interpreted = N
texte = >>> I am trying to use [convertChars] to interpret a tab on an input form and>>> convert it to something in HTML such as a non-breaking space. For some>>> reason, it's not working ...>>>> Webcat does not store tabs in db fields. The db format itself is>> tab-delimited, which means tabs never appear inside a db field, they only>> appear *in between* fields. Therefore, your convertchars database needs to>> convert something other than a tab character ... :)>>Nope, but %09 could really represent the tab character, don't you think?I'm not sure what happens when you type %09 into a form field then have webcat append that value to a db field, I have not tested it, but ...I think webcat would see that sequence of characters as an escaped ASCII character and unurl it before entering it into the db. After all, it unurls everything else you place into an [url] context in an append or replace context, so I don't see any reason why it would not do the same thing here.However, webcat also has a *special* method of preventing both tabs and carriage returns from being entered as their 'real' ASCII characters into database fields. If it didn't, those characters would screw up the database format.So in the case of %09 (tab) and %0D (carriage return), webcatalog MUST be changing them into some other characters, instead of their true ASCII equivalents, when the visitor types then into a form field that gets stored in a db field.I remember seeing vertical tab characters (%0B) in the database when the field value was entered into a textarea field having wrap=virtual parameter, so I think webcat changes carriage returns to vertical tabs -- but I don't know what it changes tabs into, and I cannot recall testing it myself ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
>>> I am trying to use [convertchars] to interpret a tab on an input form and>>> convert it to something in HTML such as a non-breaking space. For some>>> reason, it's not working ...>>>> Webcat does not store tabs in db fields. The db format itself is>> tab-delimited, which means tabs never appear inside a db field, they only>> appear *in between* fields. Therefore, your convertchars database needs to>> convert something other than a tab character ... :)>>Nope, but %09 could really represent the tab character, don't you think?I'm not sure what happens when you type %09 into a form field then have webcat append that value to a db field, I have not tested it, but ...I think webcat would see that sequence of characters as an escaped ASCII character and unurl it before entering it into the db. After all, it unurls everything else you place into an [url] context in an append or replace context, so I don't see any reason why it would not do the same thing here.However, webcat also has a *special* method of preventing both tabs and carriage returns from being entered as their 'real' ASCII characters into database fields. If it didn't, those characters would screw up the Database format.So in the case of %09 (tab) and %0D (carriage return), webcatalog MUST be changing them into some other characters, instead of their true ASCII equivalents, when the visitor types then into a form field that gets stored in a db field.I remember seeing vertical tab characters (%0B) in the database when the field value was entered into a textarea field having wrap=virtual parameter, so I think webcat changes carriage returns to vertical tabs -- but I don't know what it changes tabs into, and I cannot recall testing it myself ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Kenneth Grome
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:
Setting up shop (1997)
Re2: frames & carts (1997)
Is there an alternative to emailer? (1999)
[addlineitems] (1997)
Include a big block of text (1997)
Trouble with formula.db (1997)
Mac: LModelDirector bug fix (1997)
WebDNA performance comparisons? (2004)
macosx 1 process, linux N processes, macosx chokes under load (2001)
MacActivity and PCS (1997)
suggestion (1997)
WebCat2b15MacPlugin - [protect] (1997)
Re:no template caching (1997)
New Guestbook Source (1997)
HTML Editors (1997)
Webcat2, WebCommerce, Mod 10 etc. (1997)
Web Delivery Page concept (1997)
Typhoon and Netpresenz? (1999)
Serial Numbers (2000)
RE: NewCart+Search with one click ? (1997)