pixel-shock
New Member
Another question about Drupal webforms --The form itself is built in by /includes/form.inc's\[code\]function theme_form_element($element, $value)\[/code\]and adds a \[code\]<label>\[/code\] element to the $output. I want to remove that label only for one webform, so I have to override the function.How can I override it for only one webform, while leaving it the same in all others?E.g.\[code\]if ($block == 'contact'): // only output <input> form element stored in $value function mytheme_html_form_element($element, $value) { $t = get_t(); $output .= " $value\n"; return $output; }endif;\[/code\]Is this possible, and what goes in the if condition?