Support

Account

Home Forums General Issues Check Field Type Reply To: Check Field Type

  • Hi @webpod

    The code:

    
    $type = ['true_false'] 
    

    Does not check anything.

    To compare the type, you would do this:

    
    if( $field['type'] == 'true_false' )
    {
        // do something
    }