@php $fieldTypes = \App\Models\AdmissionFormField::FIELD_TYPES; $optionsValue = old('options'); if (is_array($optionsValue)) { $optionsValue = implode("\n", $optionsValue); } elseif ($optionsValue === null && $field) { $optionsValue = implode("\n", (array) $field->options); } @endphp
Lowercase letters, numbers and underscores only. Used in emails and reports.