Re: covertchars db to keep CR's, but not new ones

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44213
interpreted = N
texte = Gary,I don't know if this will help or not and I bet there is a more elegant solution, but when I had the double line break/textarea problem recently I solved it like this:-----Form Page: -----Write Page: [WriteFile thePage.inc][userText][/WriteFile]-----Display Page: [convertchars db=convert.db][unURL][include file=thePage.inc][/unURL][/convertchars]-----convert.db: FROM TO %0D%0A
-----theFile.inc looks like this inside: %3Ci%3E%3Cb%3EUse%20this%20page%20to%20play%20around%20and%20test%20stuff%20if%20you%20want%20to.%0D%0A OSX/Apache/WC4.0.2rc2.-Dan ------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 On Thu, 17 Oct 2002 16:49:48 Gary Krockover wrote: >Hi all, > >I have a simple db for a convertchars on textareas: > >Add.db > >from to >%0D
> > >Works on initial data entry, but each time the record is updated and >submitted, it adds additional
tags. What would be the proper database >to use for this instance? > >Thanks! >GK > > >------------------------------------------------------------- >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://search.smithmicro.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: covertchars db to keep CR's, but not new ones (Gary Krockover 2002)
  2. Re: covertchars db to keep CR's, but not new ones (Brian Fries 2002)
  3. Re: covertchars db to keep CR's, but not new ones (Dan Strong 2002)
  4. Re: covertchars db to keep CR's, but not new ones (John Peacock 2002)
  5. Re: covertchars db to keep CR's, but not new ones (Gary Krockover 2002)
  6. Re: covertchars db to keep CR's, but not new ones (Kenneth Grome 2002)
  7. covertchars db to keep CR's, but not new ones (Gary Krockover 2002)
Gary,I don't know if this will help or not and I bet there is a more elegant solution, but when I had the double line break/textarea problem recently I solved it like this:-----Form Page: -----Write Page: [WriteFile thePage.inc][userText][/WriteFile]-----Display Page: [convertchars db=convert.db][unurl][include file=thePage.inc][/unURL][/convertchars]-----convert.db: FROM TO %0D%0A
-----theFile.inc looks like this inside: %3Ci%3E%3Cb%3EUse%20this%20page%20to%20play%20around%20and%20test%20stuff%20if%20you%20want%20to.%0D%0A OSX/Apache/WC4.0.2rc2.-Dan ------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 On Thu, 17 Oct 2002 16:49:48 Gary Krockover wrote: >Hi all, > >I have a simple db for a convertchars on textareas: > >Add.db > >from to >%0D
> > >Works on initial data entry, but each time the record is updated and >submitted, it adds additional
tags. What would be the proper database >to use for this instance? > >Thanks! >GK > > >------------------------------------------------------------- >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://search.smithmicro.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://search.smithmicro.com/ Dan Strong

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:

creating writefile data from a nested search (1997) Press Release hit the NewsWire!!! (1997) URGENT: WebDNA Server Not Running (2003) WebCommerce: Folder organization ? (1997) emailer (1997) Size limit for tmpl editor ? (1997) Question (1998) WebCat2b13MacPlugIn - [include] (1997) Running _every_ page through WebCat ? (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Re:Help name our technology! (1997) webcatalog 2.1.3 ACGI Weirdness? (1998) Limit to variables being passed??? (1998) Math Context (1998) Logout? (1998) IIS4 (1998) webcat sendmail error - unix sendmail failed to deliver thisemail (2000) How can I Add several Items into the cart at once? (1997) Banner DNA (1997) carriage returns in data (1997)