Simple Field Formatter

Component ID

1416930

Component name

Simple Field Formatter

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

14786

Component created

Component changed

Component body

***There is no upgrade path from 1.x to 2.x . Please try in development environment before updating the module in Production site.***

The Simple Field Formatter module allows site administrators to easily control the display of field values with following features

Features:

  1. Prepend the field value with specified text/HTML
  2. Append the field value with specified text/HTML
  3. Reverse the Field Value
  4. Trim the Field Value
  5. Convert the field value to lowercase letters
  6. Convert the field value to uppercase letters
  7. Convert the first character of the field value to uppercase
  8. Convert the first character of each word in the field value to uppercase (7.x-1.x-dev)
  9. Replace some characters with some other characters in the field value (7.x-1.x-dev)
  10. Link the field value to node(7.x-2.x-dev)

Use Cases:

1)Easily apply HTML wrapper code to field values.
example:

Prefix:<strong>
Suffix:</strong>

2)Seperate inline fields in a field group with a coma
example:

Prefix:,

3)render image from url in a text field.
example:

Prefix: <img src="
Suffix: " />

Supported Field Types:

  1. Text

7.x-2.x

Has the ability to use this formatter along with other Field Formatters.
Depends on Field formatter settings

8.x-1.x

Doesn't Depend on Field formatter settings as available in core as per Field formatter settings hooks in core

For Advanced users & PHP programmers I recommend http://drupal.org/project/custom_formatters