Re: preserving the zero's
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22907
interpreted = N
texte = >> >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 ...>>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 passed on to the next page is the single digit 1.Unless it's a specific browser problem, I think you need to fix your form. There's no mechanism in HTML that would make it drop the 0 from a value 01, so more than likely you're not even passing 01, you're probably just passing 1. I just tested this and it works fine with Netscape 4.08.Please post the exact HTML/WebDNA code for this form so we can see what's causing the problem ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>> >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 ...>>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 passed on to the next page is the single digit 1.Unless it's a specific browser problem, I think you need to fix your form. There's no mechanism in HTML that would make it drop the 0 from a value 01, so more than likely you're not even passing 01, you're probably just passing 1. I just tested this and it works fine with Netscape 4.08.Please post the exact HTML/WebDNA code for this form so we can see what's causing the problem ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
spawn (1998)
Keep away (1997)
Question about [encrypt] (1998)
Waitfor(ever) (2002)
Summing fields (1997)
More than one db with the same namn (was: WC2f3) (1997)
Calculating multiple shipping... (1997)
Error Lob.db records error message not name (1997)
Stumpted Again (1997)
MasterCounter and capitalization (1997)
help with autenticate (1998)
Replace Statement (1997)
emailer (1997)
Separate SSL Server (1997)
too many nested [xxx] (1997)
Calendar using WebCatalog? (1997)
[text] doesn't change [formvariables] (1999)
all records returned. (1997)
Help with nested search (1998)
error in log but only rarely (2005)