Re: convert characters

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49226
interpreted = N
texte = First of all, it makes good sense to use input in text fields too, not just in textarea fields. Why? Well, because maybe the data coming from a particular db field was entered via a textarea field at one time or another in the past, and you just don't remember, or you weren't the one who entered it that way.Or maybe that data got there via some desktop database or spreadsheet program that exported its data in tab-delimited format, and that exported file was then made into a webdna database, and some of the fields in that file have soft returns in them -- fields you might be using text fields (instead of textarea fields) to display inside your founditems context.This is why my approach has always been to use input in all fields that display text values -- text fields, password fields and textarea fields. Then I never have to worry about the method the data got into the database because it will always be displayed correctly (except for encrypted data which is a different situation entirely).As far as using an input context in a blank textarea field ... what's the point? If there's no value to populate that field when it gets displayed on the web page, then this does nothing. The input context is unless there's something inside it.>Actually, I have always used [input] in blank textarea values also. > >Glenn's answer is what I do to convert soft returns (either standard >convertchars >or %0B. > >Donovan > > > >Charles Kline wrote: > >> [input] is only used when reading data out of a database into a >> textarea. >> >> ie. >> [founditems] >> >> >> >> [/founditems] >> >> On Saturday, April 5, 2003, at 01:53 PM, Glenn Busbin wrote: >> >> > Use [input] inside all >> >> [/founditems] >> >> On Saturday, April 5, 2003, at 01:53 PM, Glenn Busbin wrote: >> >> > Use [input] inside all