Re: 9 digit zip

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45458
interpreted = N
texte = I know I'm a little late, but what about just locking the ZIP CODE input down to 5 characters and leave all the WebDNA alone this time?-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ NEW! Do-It-Yourself Printing: http://sgd.cceasy.comOn Tue, 19 Nov 2002 11:56:27 -0600 Donovan wrote: >took a quick glance. Here is one instance of a setheder in the invoice.inc >[setheader cart=[cart]][formvariables name=__&exact=F][getchars >start=3][name][/getchars]=[url][value][/url]&[/formvariables][/setheader] > >This is the setheader that will find your zip. You could edit this one such as: > >[setheader cart=[cart]][formvariables name=__&exact=F][Showif >+__ShipToZip+__Zip+^+[name]+][getchars start=3][name][/getchars]=[getchars >start=1&end=5][value][/getchars][/Showif][hideif >+__ShipToZip+__Zip+^+[value]+][getchars >start=3][name][/getchars]=[url][value][/url][/hideif]&[/formvariables][/setheader] > >(Again Note, there are more than one instances of this in the master templates so >make sure you find at least two. ;-)) > >If this is confusing you can take out the __ in the html inputs and create a >separate set of setheaders just for >these inputs. > >One last way to approach this would be to put a hard 5 character character limit on >your html inputs. >(that might be the easiest. ;-) > > > >A final note would be... If you want to keep track of the last 4 digits of the zip >just incase you upgrade >your gateway or for mailings. just put a html input right after it and set it to a >header field... IE > > >Optional Extended Zipvalue=[Header35]> > >:-) > >I should really get back to work. But this is too much fun ;-) > >Donovan > > >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 >> > >-- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > ><><> 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)
I know I'm a little late, but what about just locking the ZIP CODE input down to 5 characters and leave all the WebDNA alone this time?-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ NEW! Do-It-Yourself Printing: http://sgd.cceasy.comOn Tue, 19 Nov 2002 11:56:27 -0600 Donovan wrote: >took a quick glance. Here is one instance of a setheder in the invoice.inc >[setheader cart=[cart]][formvariables name=__&exact=F][getchars >start=3][name][/getchars]=[url][value][/url]&[/formvariables][/setheader] > >This is the setheader that will find your zip. You could edit this one such as: > >[setheader cart=[cart]][formvariables name=__&exact=F][Showif >+__ShipToZip+__Zip+^+[name]+][getchars start=3][name][/getchars]=[getchars >start=1&end=5][value][/getchars][/Showif][hideif >+__ShipToZip+__Zip+^+[value]+][getchars >start=3][name][/getchars]=[url][value][/url][/hideif]&[/formvariables][/setheader] > >(Again Note, there are more than one instances of this in the master templates so >make sure you find at least two. ;-)) > >If this is confusing you can take out the __ in the html inputs and create a >separate set of setheaders just for >these inputs. > >One last way to approach this would be to put a hard 5 character character limit on >your html inputs. >(that might be the easiest. ;-) > > > >A final note would be... If you want to keep track of the last 4 digits of the zip >just incase you upgrade >your gateway or for mailings. just put a html input right after it and set it to a >header field... IE > > >Optional Extended Zipvalue=[Header35]> > >:-) > >I should really get back to work. But this is too much fun ;-) > >Donovan > > >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 >> > >-- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > ><><> 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/ Dan Strong

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:

Location of Webcat site in folder hierarchy (1997) [search] in formulas.db (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Upgrading old WebCat Database Files (1997) Deleting Orders (1997) [OT] FTP client (2003) Problems passing [SKU] with $Replace in 2.0 (1997) RE: Supressing Error Messages (1998) WebDNA 6.0 & MAC OS X Server 10.4.10 (2007) I can help! (1996) WebCat2b13MacPlugIn - [include] (1997) [Announce]: Web server security and password protection (1997) Null Chars (1999) Re:trouble (1997) Webcat/Webmerchant part II (1998) tabs as delimiters (2004) AAgghh!! Help, please. SSL strikes again. (1997) [SHOWIF AND/OR] (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Upgrade to 4.0 (2001)