Posted by marcoBauli on January 12, 2009 at 12:39pm
Jump to:
| Project: | OG Audience By Type |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
the title says pretty much it all, impossible to set group selection as required, nothing happens.. thanks
Comments
#1
Subscribing
#2
#3
If you want to make the set group required, you can create a simple module and use hook_form_alter to force any form field to be required.
function mymodulename_form_alter(&$form, &$form_state, $form_id) {
$form['og_nodeapi']['visible']['og_abt'][0]['og_group_type_group_node_']['#required'] = TRUE;
}