";
break;
default;
break;
}
return $next_field;
}
if (isset($_POST[posted])) {
//capture the values posted
$field_name01 = $_POST[field_name01];
$field_name02 = $_POST[field_name02];
$field_name03 = $_POST[field_name03];
$field_type01 = $_POST[field_type01];
$field_type02 = $_POST[field_type02];
$field_type03 = $_POST[field_type03];
//check to see if we need to display the select options form
if ($field_type01 == "select" or $field_type02 == "select" or $field_type03 == "select") {
//display the Options form
?>
";
//construct and display the form made by the user
if ($field_name01 != "" and $field_type01 != "") {
$my_form .= createTags($field_name01,$field_type01);
}
if ($field_name02 != "" and $field_type02 != "") {
$my_form .= createTags($field_name02,$field_type02);
}
if ($field_name03 != "" and $field_type03 != "") {
$my_form .= createTags($field_name03,$field_type03);
}
//complete the table for fields
$my_form .= "