Add more template validation
This commit is contained in:
parent
af319b18b7
commit
63f5d9fce2
1 changed files with 5 additions and 1 deletions
|
@ -322,7 +322,11 @@ public class InterviewStep
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Warning for answer-delimiter if there is no summary-field
|
if (answerDelimiter != null && string.IsNullOrWhiteSpace(summaryField))
|
||||||
|
{
|
||||||
|
warnings.Add("An answer-delimiter has no effect without a summary-field.\n\n> " + stepID + ".answer-delimiter");
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Add url button here when implemented
|
// TODO: Add url button here when implemented
|
||||||
if (messageType is MessageType.REFERENCE_END)
|
if (messageType is MessageType.REFERENCE_END)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue