humm just give each form weget a name then have it submit to the same page or another page and just check the name of the wegets..
example:
index.php
<form name="test_form" method="post" action="submit.php">
<input name="name" type="text" size="15">
<input name="Submit" type="button" value="Submit">
</form>
Submit.php
<?
if ($_REQUEST[name] == "") {
echo "Sorry you have left the name feild blank!";
} else {
echo "Name: ".$_REQUEST[name];
}
?>