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:

Protect (1997) 2.1b2 was SLOW ... but 2.1b3 is FAST! (1997) [OT] FTP client (2003) Help name our technology! I found it (1997) [math] variable question (1997) OT - royalty free images (2002) WebCat2 - storing unformatted date data? (1997) Software Update OSX (2003) [WebDNA] Stop hacking (2013) Stopping bad HTML propagation ? (1997) problem with applets embedded in tpl files (1997) [WebDNA] v7 Stress Test and Strange Behaviour (2012) Emailer (1997) Setting up WebCatalog with Retail Pro data (1996) Version f1 status (1997) What's wrong with this [append] context? (2000) WebStar 3 crackable !!!! (1998) TCP Connect (2000) WordBreak Qestion (1998) Quitting WebMerchant ? (1997)