开发者

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

开发者 https://www.devze.com 2023-02-13 22:27 出处:网络
am using drupal, I made a form wiht drupal fapi moduele_menu() module_myform(开发者_如何学Go) module_myform_submit

am using drupal, I made a form wiht drupal fapi

moduele_menu()
module_myform(开发者_如何学Go)
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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消