Quote Originally Posted by Rudi View Post
Hello,

I need some example where the values are empty
Yes Rudi please let me repeat the issue first. When add a few listings, for example 5, to comparison table and check. Lets say these listing have around 6 fields: price, bedroom, bathroom, state, city, zipcode
The system will check the first listing, if the first listing has empty price and empty bathroom, other 4 listing have these info. then comparison will show fields as following order.

Bedroom
State
City
Zipcode
Price
Bathroom

Which is awkward. But this method has good practice which remove entirely any field that have EMPTY value on all 5 listings. If >= 1 of the listing have value, then field is visible.

With your code, the order stay as we put them which is great:

Price
Bedroom
Bathroom
State
City
Zipcode

But I have two extra fields:
1. Term of service with Yes as Default
2. And another field from customization, where user check the box to hide address.
These fields show up on the comparison table now. (

Is there anyway I can exclude these 2 fields from comparison table using listing field key?