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:

Thanks Grant (1997) newbie question about zip code search (2003) Dreamweaver noedit ??? (2005) [movefile] create stationery files (1998) Re:Has this happened to you? (was:Emailer Chokes on bad address) (1997) Missing contexts on NT (1997) Merging databases (1997) Error Log.db --however (1997) & not allowed in db by definition? (1999) Shell traceroute (2001) Sendmail question (2002) Need relative path explanation (1997) WebCatalog Upgrade Pricing? (1997) All choices on IE different than Netscape (1997) getchars broken? (1997) New commands in Final candidate (1997) Order not created error (1997) Where's Cart Created ? (1997) removelineitems (2000) Comments in db? (1997)