How to hide an text field that will open when an condition is for filled?