How to display/hide a field only if has a certain value? I am working on an event content type.
It contains a date field that lets users input the date in which their event will take place.
But sometimes the date of the event isn't known at the time the node is created. Users just need to create the event and discuss with other users (in the comments section) then decide when to organize it and add the date then.
So the date field has no default value and I created another boolean field that controls whether the date field is displayed or not using the conditional fields module.

The boolean field has two values, TRUE = « I know the date of my event ».
FALSE = « I will pick a date later »
The field is set to TRUE « I know the date of my event » by default.
If the user picks False « I don't know the date of my event yet », then the date field is hidden and no value is input.

The problems i'm facing are :
When displaying the event as a node and when listing all the events in a view :  

If the user knows and inputs the date of the event :
- How to only display the date and hide the TRUE/I know the date of my event label/value of the boolean field

If the user chooses to pick a date later :
- How to display a « Date to Be Determined » message and hide the empty date field.

If you have ideas or a better way to handle this, you're welcome
Hope youre feeling better! You should be able to achieve this by: 


exclude the Date field from view. 
in the Later Date field, under "rewrite results" check "Rewrite the output of this field. at the bottom of that fieldset expand Replacement patterns to see all the tokens available.  You should see somethine like [Date] to indicate the content from the Date field. Enter that into your text. 
In the "no results behavior" section, enter "Date to Be Determined" in the "No results text" box. check Count the number 0 as empty (so when the box isn't checked it will show your "Later" message) and check "Hide rewriting if empty"
Save view and refresh caches