added validations for presence of rant form values and min/max length requirements.