bar
4/25/2014 - 9:40 AM

modal popup bootstrap

modal popup bootstrap

 // form
 
 $form['disclaimer']  = array(
            '#prefix' =>'<div>
            <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#disclaimer_modal">
                    Read Disclaimer
            </button>',
            '#suffix' => '</div>',
            '#description' => 'I have read understood and I accept the terms and conditions above stated.',
            '#type' => 'checkbox',
            '#default_value' => 0,
            '#required' => true,
            '#weight' => 13,
    );