Hello!
I am getting this error. what am I doing wrong?

Notice: Undefined index: required in _webform_render_select_image() (Line 225 of /home/www/.../sites/all/modules/webform_select_image/components/select_image.inc).

Of course i can fix it with something like that:

if (!isset($component['required'])) {
  $component['required'] = '';
}

But i don't know if that is legitimate...

Comments

maki3000 created an issue. See original summary.

maki3000’s picture

Issue summary: View changes
maki3000’s picture

Issue summary: View changes
daiwik.addweb’s picture

Please use this with latest version of "Webform" module and error is resolved

OR

change '#required' => $component['required'],

to '#required' => $component['mandatory'],

maki3000’s picture

ok. thanks!

maki3000’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.