Support

Account

Home Forums General Issues Show element if field is empty using javascript Reply To: Show element if field is empty using javascript

  • Usually for shortcodes you need to return the value to be displayed. This can be don using output buffers.

    
    ob_start();
    
    // your code here
    
    return ob_get_clean();