[support] Having an email/website field

DTH david at hartster.org
Thu May 17 10:18:22 UTC 2012


For a number of my content types I need an email and/or website field.

When this field is displayed, I'd like the web/email to be displayed as a link.

However, when people are entering email addresses, it seems a clutter
to have a ton of dropdown format options etc and additionally I don't
want people adding in any formatting etc. Yet choosing "Plain text" in
Text Processing means there doesn't seem to be a way to do this.
(Which was confusing until I realised that "Plain text" in Text
Processing doesn't use the Plain Text filter.)

I just wanted to double check I'm not missing something obvious and my
slightly convoluted options are:

- just set the field as formatted text, ignore all the clutter of the
format stuff and hope that people don't enter their email between h3
tags
- install Better Formats/a custom module to hide the text formats from
people (and set them by default to the Plain Text format)
- create a preprocess function that works on these fields and converts
addresses to links


More information about the support mailing list