Hi im using drupal 7.
I have a field in a content type.
What I would like is to validate the field using php. If the validation fails I would like the field to be hidden, or say closed.
How can I hide/change the output of the field based on PHP validation?
Thanks for any help