ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

No show if field is empty

July 23, 2010 9:15am

Subscribe [2]
  • #1 / Jul 23, 2010 9:15am

    Marcuse

    166 posts

    If a User have given no input in a form field how can I display noting in the front-end?

    Someting like this (PHP)

    if ( empty( $voornaam ) ) {
    
    } else{
    
    $post
    
    }

    put now for EE

    Thanks

  • #2 / Jul 23, 2010 9:55am

    Ingmar

    29245 posts

    {if voornaam != ""}
       {voornaam}
    {/if}

    Makes sense?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases