Support

Account

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

  • 
    if (get_field('video_id')) {
      ?><script></script><?php 
    } else {
      <p id="message">Video unavailable</p>
    }