[eluser]Wazzu[/eluser]
Thanks all for your answers, I haven't tried it yet.
[quote author="Peng Kong" date="1266599682"]maybe that's why twitter put change of password on a different page by itself which i think is a pretty good idea[/quote]
For example, Joomla makes it all from the same form, and that's easier.
In my application, login data includes login, password, email and "is-enabled" fields, so even if I use a different form for login data, I must let the user enable or disable the account without changing password and vice-versa.
Thanks again, gonnna thy with that 'if' (so simple it can't fail!) and let you know.
Cheers