Default form validation

Select gender:

Custom validation example: