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:

[table] question (2007) WEBDNA chat (2002) Inventory Control (2000) includes and cart numbers (1997) More Applescript (1997) Error Messages Returned to User (1997) Running 2 two WebCatalog.acgi's (1996) International Orders (1998) Comments in db? (1997) WebCommerce: Folder organization ? (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) [WebDNA] possible bug? (db field named [width]) (2012) Odd (2001) WebCatalog for guestbook ? (1997) strange IE 4.0 (1998) Encrypt/Decrypt (2007) PCS Frames-Default page is solution! (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) using showpage and showcart commands (1996) [OT] Ecommerce Insurance (2000)