0
votes
0answers
129 views

Drupal 7 how to apply custom template to my custom form

I have a module, which includes multistep form. I decided to make one of these steps work like this: free times per employee are rendered as html elements, and when element is clicked, Javascript will ...
0
votes
1answer
89 views

drupal 7 form theme function not being called

I'm trying to register a theme function for a simple form in a custom module, but the theme function is not being called. I just get the basic form. Here's my hook_theme(): function ...
0
votes
2answers
336 views

Including results along with a form on the same page and theming the results using drupal

I have successfully created a page in drupal that displays a form and results on the same page. The form acts like a filter of the results. The results include a bunch of html that includes google ...
2
votes
2answers
6k views

How do I theme Form API buttons in Drupal?

The default output from Drupal's Form API is: <input id="edit-submit" class="form-submit" type="submit" value="Save" name="op"/> How do I theme that so I get: <button id="edit-submit" ...