Re: textarea input- nevermind

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44248
interpreted = N
texte = Gary, use [input][/input] when editing.. then use your custom [convertchars db=some.db] when viewing.cheers, DonovanGary Krockover wrote:> As a follow-up, what I wound up doing for HTML enabled textareas, was to use > a convertchars db that stripped ALL hard returns and thus if
was typed > in, it was converted to a linebreak but no hard returns were appended so > they had no effect. I.e., user types a line, his enter a couple of times, > then types a
, it would only do one linebreak as the hard returns would > be removed and the one
would be processed. > > For non-html enabled textareas, i.e., I want hard returns to actually be a > hard return but
would show just as that and not be an actual break > (thus, don't type that) I just used the default [convertchars] around the > field when pulling it out of the db and just [url]'d it going in. > > GK > > > Yes, converchars ..exscuse me.. was the ticket: > > %0B
> > > > sorry to bother, > > D > > ------------------------------------------------------------- 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:

    
  1. Re: textarea input- nevermind (Gary Krockover 2002)
  2. Re: textarea input- nevermind (Donovan Brooke 2002)
  3. Re: textarea input- nevermind (Gary Krockover 2002)
  4. Re: textarea input- nevermind (Donovan Brooke 2002)
  5. Re: textarea input- nevermind (Gary Krockover 2002)
  6. Re: textarea input- nevermind (Gary Krockover 2002)
  7. Re: textarea input- nevermind (Donovan Brooke 2002)
Gary, use [input][/input] when editing.. then use your custom [convertchars db=some.db] when viewing.cheers, DonovanGary Krockover wrote:> As a follow-up, what I wound up doing for HTML enabled textareas, was to use > a convertchars db that stripped ALL hard returns and thus if
was typed > in, it was converted to a linebreak but no hard returns were appended so > they had no effect. I.e., user types a line, his enter a couple of times, > then types a
, it would only do one linebreak as the hard returns would > be removed and the one
would be processed. > > For non-html enabled textareas, i.e., I want hard returns to actually be a > hard return but
would show just as that and not be an actual break > (thus, don't type that) I just used the default [convertchars] around the > field when pulling it out of the db and just [url]'d it going in. > > GK > > > Yes, converchars ..exscuse me.. was the ticket: > > %0B
> > > > sorry to bother, > > D > > ------------------------------------------------------------- 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/ Donovan Brooke

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:

WebMerchant Error (1998) It just Does't add up!!! (1997) OBDC Support (1997) suffix mapping for NT? (1997) Encrypting the seed (2001) search form problem.. (1997) Error 11 (1996) Heads up: WebCatalog 4 drops MacTCP, 68K (2000) [sendmail] and [formvariables] (1997) Changing the value assigned to a formvariable (2000) Location of Browser Info.txt file (1997) problems with 2 tags (1997) RAM variables (1997) Multiple catalog databases and showcart (1997) RE: WebCat: Access denied, but why? (1997) WC2b15 File Corruption (1997) Multiple prices (1997) ShowIf helper? (1998) WebCatalog and WebMerchant reviewed by InfoWorld (1997) ugly math date (2002)