Re: multi-paragraph fields

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11388
interpreted = N
texte = >I am displaying a WC text field in an HTML form as in . Some of these fields are several >paragraphs. > >I want to preserve the blank lines in TEXTAREA boxes when you type the >return key for a paragraph break. However, after using this form to >insert a paragraph break, then replacing the record and then reloading >the record, the blank line is gone and the text runs together, though >the paragraph break is still there only invisible. It would be helpful >if the database could preserve this field such that when the field is >reloaded into the TEXTAREA box it shows the blank lines instead (making >it easier to edit). I have noticed one version of Netscape showing a >rectangle in place of the blank line, though another version hides those >too.You can fix this by using the [convertchars] context around the [WC field] tag, but you may also (or maybe not) have to add some more special ASCII character prefs to your WebCatalog Prefs file ... :)Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html Associated Messages, from the most recent to the oldest:

    
  1. Re: multi-paragraph fields (Kenneth Grome 1997)
  2. Re: multi-paragraph fields (Grant Hulbert 1997)
  3. Re: multi-paragraph fields (Kenneth Grome 1997)
  4. Re: multi-paragraph fields (Grant Hulbert 1997)
  5. Re: multi-paragraph fields (Grant Hulbert 1997)
  6. Re: multi-paragraph fields (Kenneth Grome 1997)
  7. Re: multi-paragraph fields (Karl Schroll 1997)
  8. Re: multi-paragraph fields (Karl Schroll 1997)
  9. multi-paragraph fields (Karl Schroll 1997)
>I am displaying a WC text field in an HTML form as in . Some of these fields are several >paragraphs. > >I want to preserve the blank lines in TEXTAREA boxes when you type the >return key for a paragraph break. However, after using this form to >insert a paragraph break, then replacing the record and then reloading >the record, the blank line is gone and the text runs together, though >the paragraph break is still there only invisible. It would be helpful >if the database could preserve this field such that when the field is >reloaded into the TEXTAREA box it shows the blank lines instead (making >it easier to edit). I have noticed one version of Netscape showing a >rectangle in place of the blank line, though another version hides those >too.You can fix this by using the [convertchars] context around the [WC field] tag, but you may also (or maybe not) have to add some more special ASCII character prefs to your WebCatalog Prefs file ... :)Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html 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:

Variable prices and Formulas.db (1997) WebCatalog 2.0 b 15 mac (1997) [BULK] [WebDNA] [BULK] which of these tags exist in 7.0 (2011) [WebDNA] Can WebDNA corrupt a db? (2012) Where's Cart Created ? (1997) slowness (1998) [WebDNA] [OT] Kickstarter feedback please? (2015) Tax on shipping (1998) WebCat2 - [format thousands] (1997) $Replace with [founditems] (1997) 3RD POST Character limit in [Search]? (1998) Loop code problem (2000) [WebDNA] OT - Wordpress Shopping Cart - will pay (2010) Exclamation point (1997) test (2000) WebCatalog Programmer looking for a new job (2001) WebCatalog memory error. (1998) [OT] Theiving B*****ds (2004) change the number format (1997) WebDNA Resource Center Resource Center (2004)