Re: Displaying text and populating form fields

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61150
interpreted = N
texte = This really isn't that complicated *if* the docs are followed. The only times I can foresee when it may get complicated is when someone is uploading a .db from an outside environment. There is almost always some sort of cleansing that must take place. Also, it can get complicated if one is editing a .db field value that came from a textarea (contains returns) inside a standard form field... in other words, if someone is trying to do something that they shouldn't. Other than that, just follow the docs and "most" of the examples from the storebuilder solution (what I posted) and you should never have a problem. I say "most" because Storebuilder/Sitebuilder is sometimes inconsistant... for example, there are a few places where it doesn't contain a convertchars around the [description]'s etc.. I didn't mention the other types of formatting in my example.. formvar to page, .db value to sendmail (text) stuff etc.. But Ken covered some of them and I only want to add to one thing he said as a precaution. Ken mentioned: To display text on the page from a textarea formvariable --> use [grep search=%0B&replace=
] This would cover many of you but you have to remember that returns may be different depending on your situation/platform. You may find that you will need to convert the %0D instead of the %0B or %OA for example: [grep search=%0D&replace=
][thetext][/grep] Hint, once you figure out what returns are being written, this can help with formatting text within a sendmail context. Regarding [input] If it makes you feel better to use [input] in non-textarea situations, then do it... I don't think it should harm anything but its overkill, and it converts some unnecessary characters (which I suppose can make it harder if the text is viewable for editing). Thats from my experience anyway.. Hope it helps, Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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)
This really isn't that complicated *if* the docs are followed. The only times I can foresee when it may get complicated is when someone is uploading a .db from an outside environment. There is almost always some sort of cleansing that must take place. Also, it can get complicated if one is editing a .db field value that came from a textarea (contains returns) inside a standard form field... in other words, if someone is trying to do something that they shouldn't. Other than that, just follow the docs and "most" of the examples from the storebuilder solution (what I posted) and you should never have a problem. I say "most" because Storebuilder/Sitebuilder is sometimes inconsistant... for example, there are a few places where it doesn't contain a convertchars around the [description]'s etc.. I didn't mention the other types of formatting in my example.. formvar to page, .db value to sendmail (text) stuff etc.. But Ken covered some of them and I only want to add to one thing he said as a precaution. Ken mentioned: To display text on the page from a textarea formvariable --> use [grep search=%0B&replace=
] This would cover many of you but you have to remember that returns may be different depending on your situation/platform. You may find that you will need to convert the %0D instead of the %0B or %OA for example: [grep search=%0D&replace=
][thetext][/grep] Hint, once you figure out what returns are being written, this can help with formatting text within a sendmail context. Regarding [input] If it makes you feel better to use [input] in non-textarea situations, then do it... I don't think it should harm anything but its overkill, and it converts some unnecessary characters (which I suppose can make it harder if the text is viewable for editing). Thats from my experience anyway.. Hope it helps, Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

PCS Customer submissions ? (1997) WebCat 4.0x database losing data? (2003) f2 download problems (1997) Alternating colors (1997) Authenticate (1997) insecuretextvars preference doesn't work (2000) Searching an Email database (1997) Sendmail truncation in Eudora Clients (1998) Stumpted Again (1997) Sense/Disallow HTML tags during $Append (1997) Interfacing WebMerchant to www.fedex.com (1997) Question about links (1999) autosensing lanague selection (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Taxable Shipping (2003) How true is this? (1999) Search in 2 or more catalogs (1997) Initiating NewCart (1997) UPDATEDONE question ... (1998) WebCat2 several catalogs? (1997)