<html>
<head>
<title>Test for Manuel Lemos' PHP form class for dependent validation</title>
<style type="text/css"><!--
.invalid { border-color: #ff0000; background-color: #ffcccc; }
// --></style>
</head>
<body onload="<?php 
echo $onload;
?>
" bgcolor="#cccccc">
<center><h1>Test for Manuel Lemos' PHP form class for dependent validation</h1></center>
<hr />
<?php 
if ($doit) {
    ?>
<center><h2>OK</h2></center>
<?php 
} else {
    $form->StartLayoutCapture();
    $title = 'Form dependent validation test';
    $body_template = 'form_dependent_validation.html.php';
    include 'templates/form_frame.html.php';
    $form->EndLayoutCapture();
    $form->DisplayOutput();
}
?>
<hr />
</body>
</html>