form_error($form,t('Field %label is a group-audience but its Entity selection mode is not defined as "Organic groups" in the field settings page.',$params));
return;
...
...
@@ -42,7 +42,7 @@ function og_field_widget_form(&$form, &$form_state, $field, $instance, $langcode