Re: textarea input- nevermind
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44247
interpreted = N
texte = As a follow-up, what I wound up doing for HTML enabled textareas, was to usea convertchars db that stripped ALL hard returns and thus if
was typedin, it was converted to a linebreak but no hard returns were appended sothey 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 wouldbe removed and the one
would be processed.For non-html enabled textareas, i.e., I want hard returns to actually be ahard 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 thefield 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>> Donovan Brooke wrote:>> > Hi,> > I have a text area that inputs text the way I want it formated into the> > database.> > I can then view this text again in a textarea input and it comes up just> > the way> > I saved it in the database. (ie. )> >> > What I would like is a way to change those cr's to
's or something> > so> > that when they are viewed in a HTML page they will come up formated as I> > have> > formated them in the textarea. would convertwords be the key here to> > dynamically> > format the text the same as what is seen in a textarea?> >> > thanks,> > Donovan-------------------------------------------------------------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:
As a follow-up, what I wound up doing for HTML enabled textareas, was to usea convertchars db that stripped ALL hard returns and thus if
was typedin, it was converted to a linebreak but no hard returns were appended sothey 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 wouldbe removed and the one
would be processed.For non-html enabled textareas, i.e., I want hard returns to actually be ahard 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 thefield 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>> Donovan Brooke wrote:>> > Hi,> > I have a text area that inputs text the way I want it formated into the> > database.> > I can then view this text again in a textarea input and it comes up just> > the way> > I saved it in the database. (ie. )> >> > What I would like is a way to change those cr's to
's or something> > so> > that when they are viewed in a HTML page they will come up formated as I> > have> > formated them in the textarea. would convertwords be the key here to> > dynamically> > format the text the same as what is seen in a textarea?> >> > thanks,> > Donovan-------------------------------------------------------------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/
Gary Krockover
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:
Cannot open database (1999)
2 databases (2000)
WebCat2 beta 11 - new prefs ... (1997)
sorting by date (1999)
Converting DOS database (2000)
Tracking inbound links for discounts (1997)
WebCat2 beta 11 - new prefs ... (1997)
Large File Uploads Impact WebDNA Performance (IIS) (2003)
color and size options / ARCHIVES (1997)
Do search engines index .tpl pages? (2006)
SiteEdit Pro Update Announcement (1997)
[CART] (1997)
webdna dreamweaver extension (2003)
Date AND time (2001)
Encyption mail was Suggestions for Topics ... (1998)
Various Problems (1997)
HELP WITH DATES (1997)
[WebDNA] isolatin-1 to utf-8 conversion (2013)
mac hack (1997)
SV: Mass Mail (2000)