Add check of minimum size in the form