Re: Populating a db from a form textarea

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61865
interpreted = N
texte = I pulled a snippet I've used. I forgot that sometimes users enter commas and line breaks. You might add a semicolon as well, just in case. [listwords words=[inputfromtextarea]&delimiters= ,%0B][/listwords] Bill -----Original Message----- From: Gary Krockover Sent: Tue, 26 Apr 2005 12:52:36 -0500 To: "WebDNA Talk" Subject: Populating a db from a form textarea No, this isn't a "do I [url] or [input]" question! I'm making a simple little emailer application, one that the client can copy/paste from Excel the list of email addresses (by selecting that column). When that list is passed, each address is separated by a single space, so I believe that's my key to parsing. What I'm wanting to do is to have that list read into a db, one address per record. I'm guessing that some sort of variation on [formvariables] will be needed. Has anybody done such a thing and might have a snippet to share? Most appreciative if so. GJK ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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: Populating a db from a form textarea ( devaulw@onebox.com 2005)
  2. Re: Populating a db from a form textarea ( Gary Krockover 2005)
  3. Re: Populating a db from a form textarea ( devaulw@onebox.com 2005)
  4. Re: Populating a db from a form textarea ( devaulw@onebox.com 2005)
  5. Populating a db from a form textarea ( Gary Krockover 2005)
I pulled a snippet I've used. I forgot that sometimes users enter commas and line breaks. You might add a semicolon as well, just in case. [listwords words=[inputfromtextarea]&delimiters= ,%0B][/listwords] Bill -----Original Message----- From: Gary Krockover Sent: Tue, 26 Apr 2005 12:52:36 -0500 To: "WebDNA Talk" Subject: Populating a db from a form textarea No, this isn't a "do I [url] or [input]" question! I'm making a simple little emailer application, one that the client can copy/paste from Excel the list of email addresses (by selecting that column). When that list is passed, each address is separated by a single space, so I believe that's my key to parsing. What I'm wanting to do is to have that list read into a db, one address per record. I'm guessing that some sort of variation on [formvariables] will be needed. Has anybody done such a thing and might have a snippet to share? Most appreciative if so. GJK ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ devaulw@onebox.com

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:

WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WebTen + WebCatalog Plugin clarification (1998) Requiring that certain fields be completed (1997) dynamic giffing. (2000) [WebDNA] Searching Possible Bug (2009) Universal root for WC errors? (1997) Beta less tested (was $flushcache causes crash) (2000) Hairy Shipping Monster (2006) Bug? (1997) Forcing a NEWCART (1997) Enhancement Request for WebCatalog-NT (1996) 2.1b3 --> way slow (1997) Lambada for Macintosh is Here! (1996) with Link i need to (1997) Removing [showif] makes a big difference in speed (1997) Dark Horse Comics success story (1997) I have troubles to send message out (1998) WebCatalog for Postcards ? (1997) First postarg not taking in $Commands (1997) [group] ? (1997)