Re: Displaying text and populating form fields

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61176
interpreted = N
texte = >on 2/23/2005 1:30 pm, Donovan Brooke at dbrooke@euca.us so noted... > >> as well as it doesn't protect against when someone goes to edit formerlly >> textarea input (input with carraige returns) in a hidden form field. > >As an aside, I've a CMS that's been used for the last five years with a >variety of Mac and PC users on various browsers. It passes textarea-entered >data with plain, unescaped, drop-to-the-next-line line breaks using hidden >form fields across multiple pages without any problems. That's because the data is initially entered by the visitor into a textarea field which can pass line break characters, and you're continuing to pass the data via hidden form fields which can *also* pass line break characters. If you switched from hidden fields to text fields when passing your data you would immediately learn that everything after the first line break character will be lost, because text fields cannot pass line break characters or anything that follows a line break character. Of course you're not going to do this, I'm only saying this to illustrate a point, and my point is this: Hidden fields and textarea fields work exactly the same, except that one is editable by the visitor and one is not. It's the text fields that cannot pass line break characters, and this is what creates the problem ... -- Sincerely, Kenneth Grome www.kengrome.com ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Displaying text and populating form fields (again) ( Kenneth Grome 2005)
  2. Re: Displaying text and populating form fields (again) ( Donovan Brooke 2005)
  3. Re: Displaying text and populating form fields (again) ( Stuart Tremain 2005)
  4. Re: Displaying text and populating form fields (again) ( Stuart Tremain 2005)
  5. Re: Displaying text and populating form fields (again) ( Donovan Brooke 2005)
  6. Re: Displaying text and populating form fields (again) ( Stuart Tremain 2005)
  7. Re: Displaying text and populating form fields (again) ( Donovan Brooke 2005)
  8. Re: Displaying text and populating form fields (again) ( Stuart Tremain 2005)
  9. Displaying text and populating form fields (again) ( eLists 2005)
  10. Re: Displaying text and populating form fields (again) ( "eLists" 2005)
  11. Re: Displaying text and populating form fields ( eLists 2005)
  12. Re: Displaying text and populating form fields ( "eLists" 2005)
  13. Re: Displaying text and populating form fields ( John Peacock 2005)
  14. Re: Displaying text and populating form fields ( Kenneth Grome 2005)
  15. Re: Displaying text and populating form fields ( Donovan Brooke 2005)
  16. Re: Displaying text and populating form fields ( Kenneth Grome 2005)
  17. Re: Displaying text and populating form fields ( Kenneth Grome 2005)
  18. Re: Displaying text and populating form fields ( Kenneth Grome 2005)
  19. Re: Displaying text and populating form fields ( Rob Marquardt 2005)
  20. Re: Displaying text and populating form fields ( Donovan Brooke 2005)
  21. Re: Displaying text and populating form fields ( Donovan Brooke 2005)
  22. Re: Displaying text and populating form fields ( Rob Marquardt 2005)
  23. Re: Displaying text and populating form fields ( Donovan Brooke 2005)
  24. Re: Displaying text and populating form fields ( Donovan Brooke 2005)
  25. Re: Displaying text and populating form fields ( Rob Marquardt 2005)
  26. Re: Displaying text and populating form fields ( Terry Wilson 2005)
  27. Re: Displaying text and populating form fields ( John Peacock 2005)
  28. Re: Displaying text and populating form fields ( Rob Marquardt 2005)
  29. Re: Displaying text and populating form fields ( Donovan Brooke 2005)
  30. Re: Displaying text and populating form fields ( Terry Wilson 2005)
  31. Displaying text and populating form fields ... ( Kenneth Grome 2005)
>on 2/23/2005 1:30 pm, Donovan Brooke at dbrooke@euca.us so noted... > >> as well as it doesn't protect against when someone goes to edit formerlly >> textarea input (input with carraige returns) in a hidden form field. > >As an aside, I've a CMS that's been used for the last five years with a >variety of Mac and PC users on various browsers. It passes textarea-entered >data with plain, unescaped, drop-to-the-next-line line breaks using hidden >form fields across multiple pages without any problems. That's because the data is initially entered by the visitor into a textarea field which can pass line break characters, and you're continuing to pass the data via hidden form fields which can *also* pass line break characters. If you switched from hidden fields to text fields when passing your data you would immediately learn that everything after the first line break character will be lost, because text fields cannot pass line break characters or anything that follows a line break character. Of course you're not going to do this, I'm only saying this to illustrate a point, and my point is this: Hidden fields and textarea fields work exactly the same, except that one is editable by the visitor and one is not. It's the text fields that cannot pass line break characters, and this is what creates the problem ... -- Sincerely, Kenneth Grome www.kengrome.com ------------------------------------------------------------- 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://webdna.smithmicro.com/ 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:

help needed: Non-english characters in WebCatalog (1997) Redirect frame targets (1998) WebCatalog stalls (1998) WebCat B13 Mac CGI -- Frames question (1997) [include] and not found (2005) Sorting (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) FlushDatabase Suggestion (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Help! I've fallen in Structured Query Language and can'tget (2002) New WebCat release ?? (2001) America Online Issues (1998) New Command prefs ... (1997) problems with 2 tags (1997) emailer (1997) Search Folder? (1998) BW in a search (2007) Login and pass variables to [protect] tag (2001) 2.01 upgrade problems (1997) Looking for WebDNA calendar (2004)