Trigger ajax callback from input field webform
I figured out you cannot attach ajax to webform components you need to add them to $form['submitted']

$form['submitted']['TEXTFIELDNAME']['#ajax'] = array(
  'callback' =&gt; 'callback function',
  'wrapper' =&gt; '#foo',
  'method' =&gt; 'replace',
  'effect' =&gt; 'fade',
);