Support

Account

Home Forums Add-ons Repeater Field Issue with repeater rows and conditional statement Reply To: Issue with repeater rows and conditional statement

  • So that you know, I generally use output buffers for things like this.

    
    ob_start();
    
    // do something
    
    $content = ob_get_clean();
    
    if (!empty($content)) {
      echo $content;
    } else {
      
      // do something else
    
    }