@if (form.bFormReady) {
}

Sections

@if (sectionsLoading) {
Loading sections...
} @if (!sectionsLoading && sections.length === 0) {
📋

No questions or sections yet

Start building your survey by adding a question or creating a section.

}
@for (section of sections; track section.InstrumentSectionId; let sIdx = $index) {
⠿ {{ section.SectionName }} {{ section.Questions ? section.Questions.length : 0 }} question{{ (section.Questions ? section.Questions.length : 0) !== 1 ? 's' : '' }}
@if (!section.Questions || section.Questions.length === 0) {

No questions in this section. Click + Add Question below to begin.

} @for (q of section.Questions; track q.QuestionId) {
⠿ {{ q.QuestionCode }} {{ q.QuestionText }} @if (q.IsRequiredOverride) { * } {{ getQTypeLabel(q.QuestionTypeId!) }}
}
}