constant FOCUS_FORMS in Autofocus 6
Same name and namespace in other branches
- 5 focus.module \FOCUS_FORMS
- 7 focus.module \FOCUS_FORMS
Default forms, can be overriden at admin/settings/focus.
2 uses of FOCUS_FORMS
- focus_admin_settings in ./
focus.module - Settings form.
- focus_form_alter in ./
focus.module - Implementation of hook_form_alter(). Add javascript (jQuery) to set focus on the first field in the defined forms.
File
- ./
focus.module, line 13 - Simple module that sets focus on the first field in a form.
Code
define('FOCUS_FORMS', "aggregator_form_category\n" . "aggregator_form_feed\n" . "!content_type!_node_form\n" . "block_add_block_form\n" . "filter_admin_format_form\n" . "forum_form_container\n" . "forum_form_forum\n" . "locale_translate_seek_form\n" . "menu_edit_menu\n" . "menu_edit_item\n" . "node_type_form\n" . "path_admin_form\n" . "profile_field_form\n" . "search_form\n" . "taxonomy_form_vocabulary\n" . "taxonomy_form_term\n" . "user_admin_new_role\n" . "user_admin_role\n" . "user_login\n" . "user_pass\n" . "user_register\n" . "views_ui_add_form\n");