I have created a Form Alter module and I am looking to create a template for this form. Which template do forms use by default and how do I create a custom form template for a specific form ID?

Comments

teyser’s picture

With help of hook_theme, You can able to write your own template depends on form ID.

regards,
-raj.

mikispeed’s picture

Hi,

take a look at Forms API Quickstart Guide, it covers basic theming, you should be able to pick it up from there.

Miki