diff --git a/index.php b/index.php index 6c2be6d..e95c462 100644 --- a/index.php +++ b/index.php @@ -170,6 +170,7 @@ $form_data = filter_input_array(INPUT_POST, [ 'db_vendorinfo_checklistrequired' => (string)FILTER_SANITIZE_STRING, 'db_vendorinfo_routinework' => (string)FILTER_SANITIZE_STRING, 'db_vendorinfo_nonroutinework' => (string)FILTER_SANITIZE_STRING, + 'fd_routineornonroutine' => (int)FILTER_VALIDATE_INT, 'db_vendorinfo_coi' => (string)FILTER_SANITIZE_STRING, 'db_vendorinfo_worksummary' => (string)FILTER_SANITIZE_STRING, 'db_vendorinfo_equipmentsummary' => (string)FILTER_SANITIZE_STRING, @@ -219,11 +220,18 @@ $form_data = filter_input_array(INPUT_POST, [ setInfoVendorVisitInitial( $form_data['db_vendorinfo_id'], $form_data['db_vendorinfo_checklistrequired'], - $form_data['db_vendorinfo_routinework'], - $form_data['db_vendorinfo_nonroutinework'], + $fdroutinework, + $fdnonroutinework, $form_data['db_vendorinfo_coi'], $form_data['db_vendorinfo_worksummary'], $form_data['db_vendorinfo_equipmentsummary'] ); @@ -673,37 +681,25 @@ $form_data = filter_input_array(INPUT_POST, [ > + +
>
-
-
- - oninvalid="this.setCustomValidity('')" onchange="this.setCustomValidity('')" required/> - -
-
- - oninvalid="this.setCustomValidity('')" onchange="this.setCustomValidity('')" required/> - +
+
+
+
+ required/> + + required/> +
-