10-14-2007, 03:57 PM
|
#4 (permalink)
|
|
The Reckoner
Join Date: Sep 2007
Posts: 437
Thanks: 22
|
Hi there, sorry, made a stupid mistake, ammend the function like this:
Code:
function validate(pForm)
{
try
{
checkPass(pForm);
updateSpryForm(pForm, 'Your password was changed. You have been logged out, please log back in with your new password', false);
}
catch (szException)
{
alert(szException);
}
// I'm assuming this is intentional?
return false;
}
and then ammend the onsubmit so it looks like:
Code:
onsubmit="validate(this); return false;"
Lets see if that works :)
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
|
|
|
|