GCX / acf-address-field

Advanced Custom Fields - Address Field add-on
BSD 3-Clause "New" or "Revised" License
13 stars 13 forks source link

No information entered should = no information returned #10

Open TheJester12 opened 12 years ago

TheJester12 commented 12 years ago

Right now even if no information was entered in the address fields, it still returns:

<div class="address_row"><span class="address1"> </span></div><div class="address_row"><span class="address2"> </span></div><div class="address_row"><span class="address3"> </span></div><div class="address_row"><span class="city">, </span><span class="state"> </span><span class="postal_code"> </span></div>

Which basically shows up as a comma. Would be better if it didn't return anything.