0) {
$call_flow_extension = check_str($_POST["call_flow_extension"]);
$call_flow_feature_code = check_str($_POST["call_flow_feature_code"]);
$call_flow_status = check_str($_POST["call_flow_status"]);
$call_flow_app = check_str($_POST["call_flow_app"]);
$call_flow_pin_number = check_str($_POST["call_flow_pin_number"]);
$call_flow_data = check_str($_POST["call_flow_data"]);
$call_flow_anti_app = check_str($_POST["call_flow_anti_app"]);
$call_flow_anti_data = check_str($_POST["call_flow_anti_data"]);
$call_flow_description = check_str($_POST["call_flow_description"]);
}
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$msg = '';
if ($action == "update") {
$call_flow_uuid = check_str($_POST["call_flow_uuid"]);
}
//check for all required data
//if (strlen($call_flow_extension) == 0) { $msg .= "Please provide: Extension
\n"; }
//if (strlen($call_flow_feature_code) == 0) { $msg .= "Please provide: Feature Code
\n"; }
//if (strlen($call_flow_status) == 0) { $msg .= "Please provide: Status
\n"; }
//if (strlen($call_flow_app) == 0) { $msg .= "Please provide: Application
\n"; }
//if (strlen($call_flow_pin_number) == 0) { $msg .= "Please provide: PIN Number
\n"; }
//if (strlen($call_flow_data) == 0) { $msg .= "Please provide: Application Data
\n"; }
//if (strlen($call_flow_anti_app) == 0) { $msg .= "Please provide: Alternate Application
\n"; }
//if (strlen($call_flow_anti_data) == 0) { $msg .= "Please provide: Application Data
\n"; }
//if (strlen($call_flow_description) == 0) { $msg .= "Please provide: Description
\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
require_once "includes/persistformvar.php";
echo "
| \n";
echo $msg." "; echo " |
| \n";
echo " "; echo " | ";
echo "