Re: preserving the zero's

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22800
interpreted = N
texte = I have a form in which a customer chooses the expiration date of credit card. If year 2001 is selected, the value for [ExpYear] is 01. However, what actually gets passe on to the next page is the single digit 1. Is there a way to correct this, since it will not work correctly this way when we import the info into our database? I suppose that it IS from the form that I am losing the 0 since what is passed on to the next page is 1 without the 0.Any fix for this? Thaks, MikeKenneth Grome wrote:> >I am having trouble with numbers that begin with zero not coming through > >in their pure form. For example, the customer selects a year for his/her > >credit card expiration date. If the year is 2001, 01 should be sent. > >However, the 0 is dropped in the process and only the 1 come > >through. > > Can you explain exactly where you're losing the 0? If it's not from the form itself, then you need to give us more details ... > Associated Messages, from the most recent to the oldest:

    
  1. Re: preserving the zero's (Kenneth Grome 1999)
  2. Re: preserving the zero's (Mike Eberly 1999)
  3. Re: preserving the zero's (Kenneth Grome 1999)
  4. preserving the zero's (Mike Eberly 1999)
I have a form in which a customer chooses the expiration date of credit card. If year 2001 is selected, the value for [ExpYear] is 01. However, what actually gets passe on to the next page is the single digit 1. Is there a way to correct this, since it will not work correctly this way when we import the info into our database? I suppose that it IS from the form that I am losing the 0 since what is passed on to the next page is 1 without the 0.Any fix for this? Thaks, MikeKenneth Grome wrote:> >I am having trouble with numbers that begin with zero not coming through > >in their pure form. For example, the customer selects a year for his/her > >credit card expiration date. If the year is 2001, 01 should be sent. > >However, the 0 is dropped in the process and only the 1 come > >through. > > Can you explain exactly where you're losing the 0? If it's not from the form itself, then you need to give us more details ... > Mike Eberly

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:

NEW INFO: I'm stuck: Can't open order file. Ignoring[OrderFile] context (2000) Country & Ship-to address & other fields ? (1997) Dealing with return characters (2004) [WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010) Encrypted links ... (2000) OK, here goes... (1997) possible, WebCat2.0 and checkboxes-restated (1997) emailer (1997) WebCat2: Formulas.db question (1997) [WebDNA] reCAPTCHA and WebDNA (2010) WebCat 4.5 and Windows Server 2003 (2006) WebDNA Solutions ... sorry! (1997) emailer on Windows Beta 18 (1997) Paths, relative paths, webstar server setup and security (Mac) (1997) Separate SSL Server (1997) Re1000001: Setting up shop (1997) A few questions. . . (1997) unbreakable space on windows (2008) OT: SSL Certs (2005) [OT] Communigate List (2003)