building validations ui