Field rendered invisible when code block enabled I have this weird issue when altering a webform. Below are two versions of my code:

function tubitekuz_form_webform_client_form_97_alter(&amp;$form, &amp;$form_state, $form_id) {
  $form['submitted']['kullanici_adi'] = array(
    '#type' =&gt; 'textfield',
    '#ajax' =&gt; array(
      'event' =&gt; 'blur',
      'callback' =&gt; '_tubitekuz_do_stuff',
    ),
  );
}


The above code renders my field invisible, while

function tubitekuz_form_webform_client_form_97_alter(&amp;$form, &amp;$form_state, $form_id) {
 $form['submitted']['kullanici_adi']['#ajax'] = array(
    'event' =&gt; 'blur',
    'callback' =&gt; '_tubitekuz_do_stuff',
  );
}


gives me .

What might I be doing wrong?
I found out why. It seems our designer chose to add display:none to ajax-processed class, which is added to #ajax calls.