PeterD Posted May 30, 2019 at 08:44 AM Share Posted May 30, 2019 at 08:44 AM You have this conditional code, If I want to output certain code only if the specific custom field isn't empty: <?php if($CustomFields->field('jr_fieldname',$listing,false,false) != ''):?> <!-- Add your code here--> <?php endif;?> This runs, But which code I use, if I to output certain code only if the specific custom field is empty? Chance "false" to "true" didn´t runs. Link to comment
Alejandro Posted May 30, 2019 at 10:29 AM Share Posted May 30, 2019 at 10:29 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
PeterD Posted June 3, 2019 at 04:41 PM Author Share Posted June 3, 2019 at 04:41 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.