Hi,

i would like to edit the html of the components so i can change distribution and other things. However, i already search through all the module files and cant find where to edit it. Could you please give me a hint?

Thank you.

Comments

quicksketch’s picture

Typically if you want to change the output of the form you can theme the form, as described in THEMING.txt.

nuker’s picture

I read that, but i cant find where to edit somethings such as the and
that wrap around the elements, i want to take them out because they interfer with my layout. I searched through the whole webform module folder but i cant find a single file that contains the bit . which is weird because this appears in the generated html of the form.

quicksketch’s picture

Webform uses the same output as the rest of Drupal. See theme_form_element().

nuker’s picture

I found out i have to modify the file form.inc in the include folder. Thank you anyway.

quicksketch’s picture

You shouldn't have to modify any of Webform's files. Any function that includes "theme_" is overridable in your theme's template.php file.

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of response.