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] is01. However, what actually gets passe on to the next page is the single digit 1. Is there a way to correct this, since it willnot 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 0since 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:
I have a form in which a customer chooses the expiration date of credit card. If year 2001 is selected, the value for [ExpYear] is01. However, what actually gets passe on to the next page is the single digit 1. Is there a way to correct this, since it willnot 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 0since 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:
Protect (1997)
WebMerchant 2.1.2 (1998)
RE: strip .0 off off IPaddress (1999)
Virtual hosting and webcatNT (1997)
WILDWEBCAT encrypt.tpl submission (1998)
country of origin from IPADDRESS??? (2001)
Bug? (1997)
[movefile] prob *solved* (2005)
log files (1998)
Server Freeze (1998)
Queertrons? (1997)
[WebDNA] Triggers issue, or sendmail? (2012)
Personal Web Server (1998)
webcat- multiple selection in input field (1997)
WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)
Solve the Problem, get the code! (2001)
how many users (2000)
Emailer (1997)
Pithy questions on webcommerce & siteedit (1997)
Sorting by multiple fields (2003)