customize

You are here

[Drupal] How to Render Drupal Form in Node

Error message

User error: Failed to connect to memcache server: localhost:11212 in dmemcache_object() (line 415 of /home/freedrup/public_html/demo/d7/sites/all/modules/memcache/dmemcache.inc).

To render a Drupal form to a node, drupal_build_form function is used. This function allows us to render all forms except the admin forms. Note that, admin forms didn't find success while rendering the same. In-order to render a form the following syntax is used,

Source: 
http://feeds.zyxware.com/~r/zyxware/~3/9RqogPGH75U/drupal-how-to-render-drupal-form-in-node