numero = 45455
interpreted = N
texte = I recently ran into this same problem. You want to put the [getchars] tagaround the zip in the actual data sent to ups online. Doing it incheckout.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 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: 9 digit zipThat 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 toWeb 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:
I recently ran into this same problem. You want to put the [getchars] tagaround the zip in the actual data sent to ups online. Doing it incheckout.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 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: 9 digit zipThat 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 toWeb 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
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...