Re: 9 digit zip

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45472
interpreted = N
texte = Sure...[TEXT]newzip=[shiptozip][/TEXT] [LOOP start=1&end=[MATH][COUNTCHARS][newzip][/COUNTCHARS]%5[/MATH]] [TEXT]zip=[GETCHARS start=1&end=[MATH][COUNTCHARS][newzip][/COUNTCHARS]-1[/MATH]][newzip][/GETCH ARS][/TEXT] [/LOOP] 19_destPostal=[newzip];) -----Original Message----- From: Donovan [mailto:donovan@ns1.ddbproductions.org] Sent: Tuesday, November 19, 2002 10:02 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: 9 digit zip Cmon, that's too difficult. Can't you put in a module operator somehere... ;-)DonovanChris List Recipient wrote:> I recently ran into this same problem. You want to put the [getchars] tag > around the zip in the actual data sent to ups online. Doing it in > checkout.inc will not allow the user to accept a 9 digit zip. > > Wrap the zip in the [tcpconnect host=www.ups.com] tag in invoice.inc: > > 19_destPostal=[GetChars start=1&end=5][shiptozip][/GetChars] > > -Chris > >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- 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: 9 digit zip (Dan Strong 2002)
  2. Re: 9 digit zip (Donovan 2002)
  3. Re: 9 digit zip (Chris List Recipient 2002)
  4. Re: 9 digit zip (Donovan 2002)
  5. Re: 9 digit zip (Dan Strong 2002)
  6. Re: 9 digit zip (Donovan 2002)
  7. Re: 9 digit zip (Gary Chiasson 2002)
  8. Re: 9 digit zip (Chris List Recipient 2002)
  9. Re: 9 digit zip (WJ Starck 2002)
  10. Re: 9 digit zip (Gary Chiasson 2002)
  11. Re: 9 digit zip (Donovan 2002)
  12. Re: 9 digit zip (WJ Starck 2002)
  13. Re: 9 digit zip (Gary Chiasson 2002)
  14. Re: 9 digit zip (Donovan 2002)
  15. Re: 9 digit zip (WJ Starck 2002)
  16. 9 digit zip (Gary Chiasson 2002)
Sure...[text]newzip=[shiptozip][/TEXT] [LOOP start=1&end=[math][countchars][newzip][/COUNTCHARS]%5[/MATH]] [text]zip=[GETCHARS start=1&end=[math][countchars][newzip][/COUNTCHARS]-1[/MATH]][newzip][/GETCH ARS][/TEXT] [/LOOP] 19_destPostal=[newzip];) -----Original Message----- From: Donovan [mailto:donovan@ns1.ddbproductions.org] Sent: Tuesday, November 19, 2002 10:02 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: 9 digit zip Cmon, that's too difficult. Can't you put in a module operator somehere... ;-)DonovanChris List Recipient wrote:> I recently ran into this same problem. You want to put the [getchars] tag > around the zip in the actual data sent to ups online. Doing it in > checkout.inc will not allow the user to accept a 9 digit zip. > > Wrap the zip in the [tcpconnect host=www.ups.com] tag in invoice.inc: > > 19_destPostal=[GetChars start=1&end=5][shiptozip][/GetChars] > > -Chris > >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- 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/ Chris List Recipient

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:

Include a big block of text (1997) Time Display from Database (1997) 4.51 Triggers (2003) Re:No Data (1997) formatting dates from a field ... (1997) Stumped on ShowNext -using variables (1997) 2.1b3 --> way slow (1997) Printing a final order (1997) Problems getting parameters passed into email. (1997) Get Cookie problem..... (2000) RePost: NAT and the CART (1999) Orderfile Encryption (2007) Nav. 4 probs with cart - Serious problem (1997) StoreBuilder Shopping Cart (2000) ISAPI Filter (2002) WebCat2 Append problem (B14Macacgi) (1997) More on the email templates (1997) Emailer help....! (1997) Plugin or CGI or both (1997) can WC render sites out? (1997)