[FX.php List] Leading zero getting dropped in a login

Steve Winter steve at bluecrocodile.co.nz
Mon Jan 28 15:23:34 MST 2008


Jon,

If you see it vanish from the field when you click submit, then it's
certainly the javascript... probably because you're validating it as a
number, in which case it can't start with 0...

Cheers
Steve

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jon Montgomery
Sent: 28 January 2008 22:13
To: FX.php Discussion List
Subject: Re: [FX.php List] Leading zero getting dropped in a login

Steve,
    Yes, I can visually see the zero disappear right before the page changes
after clicking.

    I do have some JS validation.  I will check it and change it if I can
figure out what to change it to.

    I did do the DEBUG and, for example, I entered 0427  that info in URL
shoes 427 and NOT 0427, and thus the 401 error.

    Let me see if the javascript will fix it.

Jon Montgomery


On 1/28/08 4:03 PM, "Steve Winter" <steve at bluecrocodile.co.nz> wrote:

> Have you been able to confirm when the 0 is getting dropped...?
> 
> Does it vanish from the text field when the form is being posted..? maybe
> some validation Javascript is doing it...??


_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list




More information about the FX.php_List mailing list