' . $paramResult . "
"; return false; } $form = getById("tbl_forms", checkParamId("form_id")); ?>

Formularabschnitt erstellen

" required>
Klassenzuweisung"; echo "
"; if (!empty($classesform)) { $groupedClasses = array(); foreach ($classesform as $class) { $level = $class['sek']; $groupedClasses[$level][] = $class; } foreach ($groupedClasses as $level => $levelClasses) { echo "
"; echo "
"; echo "
"; echo "$level"; echo "
"; // Checkbox für "Alle Auswählen" $idSafeLevel = str_replace(['.', ' '], '_', $level); $idSafeLevel = preg_replace('/[^A-Za-z0-9_]/', '', $idSafeLevel); echo "
"; echo ""; echo ""; echo "
"; foreach ($levelClasses as $class) { $classId = $class['id']; $className = htmlspecialchars($class['classDisplayName']); echo "
"; echo ""; echo ""; echo "
"; } echo "
"; echo "
"; } echo "
"; } else { echo "
Diesem Formular sind keine Klassen zugewiesen.
"; } ?>
' . $form["message"] . ""; } ?>