Hello,

I'm also interrested to get rid of prefix and suffix in the webform mail.
I use version webform 6.x-3.18 and I don't find "theme_webform_mail_textfield" anymore as explained in #5 for the support request "Remove Label After Textfield" (webform 6.x-2.29)
I only find function theme_webform_display_textfield($element)
But I want to keep prefix and suffix in the display.

Could you help me?

Thanks.

Comments

Status:Active» Closed (fixed)

Assuming your sending plain-text e-mails, you can check the $format variable and only print out the field prefix and suffix if $format === 'html'.

This general question is out of scope for the Webform issue queue so I'm closing it directly. As mentioned in the submission guidelines, I don't provide help with custom coding:

Any issues regarding "how do I code ..." or "how do I theme ..." will not be answered. Please look elsewhere for coding resources.

Please refer to other resources such as IRC or Drupal StackExchange to ask your questions.