CMS-3018 Make Form validate initially and as you type
Removed unused method hasValidOccurrences