Refresh link is cot coming in my created custom module. Following is the code in my module
$form['captcha_element'] = array(
'#required' => '1',
'#type' => 'captcha',
'#captcha_type' => 'image_captcha/Image',
);

Can you please help.

Comments

akanksha.jain created an issue. See original summary.

ddrozdik’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Checked, works correctly with this code:

  $form['captcha_element'] = array(
    '#required' => true,
    '#type' => 'captcha',
    '#captcha_type' => 'image_captcha/Image',
  );

Check your custom modules, maybe one of them has removed process function needed for this module.

ddrozdik’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)