How to hide field if blank I have a view created which has a column 'Price'. I also I have another column 'Special Price' in the same view, but 'exclude from display' is selected. 

In views, click the price field > rewrite results > Rewrite the output of this field > I added the below:


  $[field_price] 
  
  Special $[field_special_price]


I would like to display the special price only if the special price field has a value. If the special price field has no value, I only want to display the price field value. I am not sure how I can modify it ? 

Thanks,
 D



I am new to drupal. Sorry if I am not clear.
In the views, I would like to put price and special price in the same column. I will add some css to special price. If I un-selected exclude from display for special price, then special price will be in another column which I do not want to do. 

Please visit the page and see the price column.

http://bettylist.com/ac/myview 

Thanks.
Then dont exclude special price from display and customize that field. There's an option @ No results behavior, where you need to check Hide if empty.

THEN, all you need to do is to style the two fields where they're both present.

That's the simplest way. There is another way, where you exclude both from display and add another field at the end "Global text area", where you can play with the tokens and rewrites.