Form validation for max limit exceeding