diff --git a/Commands/AdminCommands.cs b/Commands/AdminCommands.cs index 5d5eed0..f621017 100644 --- a/Commands/AdminCommands.cs +++ b/Commands/AdminCommands.cs @@ -280,10 +280,12 @@ public class AdminCommands foreach (KeyValuePair interviewRoot in interview) { interviewRoot.Value.Validate(ref errors, out int summaryCount, out int summaryMaxLength); + if (summaryCount > 25) { errors.Add("A summary cannot contain more than 25 fields, but you have " + summaryCount + " fields in one of your interview branches."); } + if (summaryMaxLength >= 6000) { errors.Add("A summary cannot contain more than 6000 characters, but one of your branches has the possibility of its summary reaching " + summaryMaxLength + " characters.");