Re: word count in HTML form textarea and linebreaks

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34602
interpreted = N
texte = >> The problem is that [WordCount] doesn't see a break between these two words: >> >> wordone >> wordtwo >> >> unless I put a space after wordone before I hit return. Now, nobody does >> that naturally. >> >> Can I somehow tell WebCatalog (in a prefs files or somewhere) to consider a >> carriage return as a word break? > > Never heard of [WordCount], but see the docs on [CountWords] at > http://betadoc.smithmicro.com/CountWordsContext.html to see how > optional word delimiters are set.Whoops, sorry. I meant [WordCount]. I wasn't looking at my code when I wrote the email.And Doh! I'm usually good about RTFM. I read that part before I noticed the problem, and didn't remember it being in there. I should remember to doublecheck.Thanks,Steve ------------------------------------------------ Steven Jarvis Web Developer sjarvis@nwaonline.netMorning News of Northwest Arkansas http://www.nwaonline.net ------------------------------------------------------------------------------------------------------------- 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: word count in HTML form textarea and linebreaks (Steven Jarvis 2000)
  2. Re: word count in HTML form textarea and linebreaks (WebDNA Support 2000)
  3. word count in HTML form textarea and linebreaks (Steven Jarvis 2000)
>> The problem is that [WordCount] doesn't see a break between these two words: >> >> wordone >> wordtwo >> >> unless I put a space after wordone before I hit return. Now, nobody does >> that naturally. >> >> Can I somehow tell WebCatalog (in a prefs files or somewhere) to consider a >> carriage return as a word break? > > Never heard of [WordCount], but see the docs on [countwords] at > http://betadoc.smithmicro.com/CountWordsContext.html to see how > optional word delimiters are set.Whoops, sorry. I meant [WordCount]. I wasn't looking at my code when I wrote the email.And Doh! I'm usually good about RTFM. I read that part before I noticed the problem, and didn't remember it being in there. I should remember to doublecheck.Thanks,Steve ------------------------------------------------ Steven Jarvis Web Developer sjarvis@nwaonline.netMorning News of Northwest Arkansas http://www.nwaonline.net ------------------------------------------------------------------------------------------------------------- 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/ Steven Jarvis

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:

WebCat2: Items xx to xx shown, etc. (1997) Navigator 4.01 (1997) [convertChars] and HTML Tags (1997) ShowNext truncating passed variable?? (1997) New since last visit, forum feature, help requested (2004) Folder modify times (2003) Question about links (1999) Multiple cart additions (1997) One more time (1997) NT 2.1b10 (1998) Wanted: More Math Functions (or, Can You Solve This?) (1997) FW: I'll Know If You Don't Read This (2006) format_to_days on NT (1997) WC 2.0 frames feature (1997) WCS Newbie question (1997) multi-paragraph fields (1997) WILDWEBCAT encrypt.tpl submission (1998) Nested tags count question (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Editing Users.db (1997)