Added length validation to text fields on floor view