Re: 9 digit zip

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45455
interpreted = N
texte = 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-----Original Message----- From: WJ Starck [mailto:wjs@novaderm.com] Sent: Tuesday, November 19, 2002 9:34 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: 9 digit zip That looks like the right place.Change that to> value=[getchars start=1&end=5][ShipToZip][/getchars] size=9>And run a test to see what happens.Alternatively, you could simply change the html to> Zip value=[ShipToZip] size=5>Then they wouldn't be able to input more than 5 characters, no matter what...-WillOn Tuesday, November 19, 2002, at 11:28 AM, Gary Chiasson wrote:> Yes, storebuilder, I have had some luck editing inc, and tpl's > with a lot of help from the list and Donovan. > > I found the file, Checkout.inc which makes ref. to the [ShipToZip] in a > form. > So far it's the only palce I can see to place the getchars code. > snipit: > > Zip value=[ShipToZip] size=9> > > does this look like the right place? > Thanks, > Gary > >> From: WJ Starck >> Reply-To: (WebCatalog Talk) >> Date: Tue, 19 Nov 2002 11:24:33 -0600 >> To: (WebCatalog Talk) >> Subject: Re: 9 digit zip >> >> Yikes...don't know! >> >> I assume you built your site with Store Builder, no? >> >> I'm totally unfamiliar with that, maybe someone who uses it can chime >> in... >> >> >> -Will >> >> >> On Tuesday, November 19, 2002, at 11:17 AM, Gary Chiasson wrote: >> >>> That's what I was hoping for, and at the risk of being a Web Cat >>> Dolt, >>> What file does it go in? >>> >>> Thank you, >>> lost in the code, >>> Gary >>> >>>> From: WJ Starck >>>> Reply-To: (WebCatalog Talk) >>>> Date: Tue, 19 Nov 2002 11:13:48 -0600 >>>> To: (WebCatalog Talk) >>>> Subject: Re: 9 digit zip >>>> >>>> Quick fix would be to clip off the last 4 digits with getchars: >>>> >>>> [getchars start=1&end=5][zip][/getchars] >>>> >>>> -Will >>>> >>>> On Tuesday, November 19, 2002, at 11:04 AM, Gary Chiasson wrote: >>>> >>>>> I have just noticed that the ups online shipping returns a 0.00 >>>>> value >>>>> when a >>>>> 9 digit zip is entered on the order page. >>>>> Is there a quick fix for this... please >>>>> Gary >>>>> -- >>>>> >>>>> >>>>> dtpub@shgroup.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/ >>>>> >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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/ >>> >> >> >> ------------------------------------------------------------- >> 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/ > ------------------------------------------------------------- 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)
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-----Original Message----- From: WJ Starck [mailto:wjs@novaderm.com] Sent: Tuesday, November 19, 2002 9:34 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: 9 digit zip That looks like the right place.Change that to> value=[getchars start=1&end=5][ShipToZip][/getchars] size=9>And run a test to see what happens.Alternatively, you could simply change the html to> Zip value=[ShipToZip] size=5>Then they wouldn't be able to input more than 5 characters, no matter what...-WillOn Tuesday, November 19, 2002, at 11:28 AM, Gary Chiasson wrote:> Yes, storebuilder, I have had some luck editing inc, and tpl's > with a lot of help from the list and Donovan. > > I found the file, Checkout.inc which makes ref. to the [ShipToZip] in a > form. > So far it's the only palce I can see to place the getchars code. > snipit: > > Zip value=[ShipToZip] size=9> > > does this look like the right place? > Thanks, > Gary > >> From: WJ Starck >> Reply-To: (WebCatalog Talk) >> Date: Tue, 19 Nov 2002 11:24:33 -0600 >> To: (WebCatalog Talk) >> Subject: Re: 9 digit zip >> >> Yikes...don't know! >> >> I assume you built your site with Store Builder, no? >> >> I'm totally unfamiliar with that, maybe someone who uses it can chime >> in... >> >> >> -Will >> >> >> On Tuesday, November 19, 2002, at 11:17 AM, Gary Chiasson wrote: >> >>> That's what I was hoping for, and at the risk of being a Web Cat >>> Dolt, >>> What file does it go in? >>> >>> Thank you, >>> lost in the code, >>> Gary >>> >>>> From: WJ Starck >>>> Reply-To: (WebCatalog Talk) >>>> Date: Tue, 19 Nov 2002 11:13:48 -0600 >>>> To: (WebCatalog Talk) >>>> Subject: Re: 9 digit zip >>>> >>>> Quick fix would be to clip off the last 4 digits with getchars: >>>> >>>> [getchars start=1&end=5][zip][/getchars] >>>> >>>> -Will >>>> >>>> On Tuesday, November 19, 2002, at 11:04 AM, Gary Chiasson wrote: >>>> >>>>> I have just noticed that the ups online shipping returns a 0.00 >>>>> value >>>>> when a >>>>> 9 digit zip is entered on the order page. >>>>> Is there a quick fix for this... please >>>>> Gary >>>>> -- >>>>> >>>>> >>>>> dtpub@shgroup.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/ >>>>> >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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/ >>> >> >> >> ------------------------------------------------------------- >> 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/ > ------------------------------------------------------------- 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:

[WebDNA] Accepting Payments on Site (2013) Encrypt question. (2000) multi-paragraph fields (1997) Nesting Search Within Tag? (1997) Duplicate Hell (1999) Webstar 1.3.1 PPC (1997) Question from a Neebie (2000) WebCatalog can't find database (1997) Variables (1999) Looping control (1997) format_to_days on NT (1997) Trouble with formula.db + more explanation (1997) Database (2002) Bug Report, maybe (1997) Location of Webcat site in folder hierarchy (1997) Problems setting MIME Headers (1998) Am I going senile? (Price recalc based on quantity) (1997) More Shopping Cart Problems (2000) completed orders database (1997) [protect admin] (1997)