In drupal, how we generate <form> tage with fapi

102 views Asked by At

am using drupal, I made a form wiht drupal fapi

moduele_menu()
module_myform()
module_myform_submit

..

I get in my page the form elements ( inputs...) but i did not get the wrapper ( <FORM action=... </FORM>!!!!

Can someone help please

1

There are 1 answers

0
googletorp On

You need to use drupal_get_form('form_id') to let drupal know about the form. That is what is creating the form HTML element and other elements needed by Drupal.