nataz kaupaz - 2006-09-22 11:02:00
Hi Manu,
When I modify "test_form.php", replacing
/*
* Make the email field get the input focus when the page is loaded
* if there was no previous validation error.
*/
$focus="email";
}
$form->AddFunction(array(
"Function"=>"PageLoad",
"Type"=>"focus",
"Element"=>$focus
));
}
by
//*
* Make the email field get the input focus when the page is loaded
* if there was no previous validation error.
*/
$focus="credit_card_type";
}
$form->AddFunction(array(
"Function"=>"PageLoad",
"Type"=>"focus",
"Element"=>$focus
));
}
I still have the focus on the email input instead of credit_card_type.
Is there a logical explanation or is it a real bug?
cheers.