form_render

Related topics

Namesort iconDescription
Form generationFunctions to enable output of HTML forms and form elements.

Functions that call form_render()

Namesort iconLocationDescription
drupal_get_formincludes/form.incProcesses a form array and produces the HTML output of a form. If there is input in the $_POST['edit'] variable, this function will attempt to validate it, using drupal_validate_form(), and then submit the form using drupal_submit_form().
form_renderincludes/form.incRenders a HTML form given a form tree. Recursively iterates over each of the form elements, generating HTML code. This function is usually called from within a theme. To render a form from within a module, use drupal_get_form().
theme_archive_browse_formmodules/archive.moduleForm theme function; displays the archive date navigation form inline.
theme_block_admin_displaymodules/block.moduleTheme main block administration form submission.
theme_filter_admin_ordermodules/filter.moduleTheme filter order configuration form.
theme_locale_admin_manage_screenincludes/locale.incTheme the locale admin manager form.
theme_node_admin_nodesmodules/node.moduleTheme node administration overview.
theme_node_filtersmodules/node.moduleTheme node administraton filter selector.
theme_node_filter_formmodules/node.moduleTheme node administration filter form.
theme_poll_view_votingmodules/poll.moduleThemes the voting form for a poll.
theme_search_block_formmodules/search.moduleTheme the block search form.
theme_search_theme_formmodules/search.moduleTheme the theme search form.
theme_upload_form_currentmodules/upload.moduleTheme the attachments list.
theme_upload_form_newmodules/upload.moduleTheme the attachment form. Note: required to output prefix/suffix.
theme_weightincludes/form.incFormat a weight selection menu.
upload_jsmodules/upload.moduleMenu-callback for JavaScript-based uploads.

Functions called by form_render()

Namesort iconLocationDescription
element_childrenincludes/form.incGet keys of a form tree element that are not properties (i.e., do not begin with '#').
form_renderincludes/form.incRenders a HTML form given a form tree. Recursively iterates over each of the form elements, generating HTML code. This function is usually called from within a theme. To render a form from within a module, use drupal_get_form().
themeincludes/theme.incGenerate the themed representation of a Drupal object.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.