Token Field allows you to define read-only CCK Fields which generate their output using Tokens.
Example
For example, you may have 3 CCK Fields:
- field_currency - (Text, Select Box)
- field_minimum - (Numeric, Textfield)
- field_maximum - (Numeric, Textfield)
You may want to output this as a single field, eg: $100-200
. Currently you could do this using a custom module, a theme level template file or the awesomely powerful Computed Field.
Wouldn't it be nice to just define a "template field" without needing to know any PHP?
Enter Token Field.
Using this module you just add a new field to the content type and define the "template" code (which also uses Input Filters). You could setup:
<span class="currency">[field_currency-raw]</span><span class="min">[field_min-raw]</span><span class="max">[field_max-raw]</span>
You have access to the CCK Field for the current node, all other Node level tokens and all Global Tokens.
You can essentially use this to create a Compound CCK Field using Tokens.
Conditional Tokens