Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Custom field question


New Member
AMS Premium
SC Premium
Just to know if this scenario it's possible:

1) We have a custom field that accept a number (year). Can be a dropdown (begin 1970, ends 2016).

2) Output will be print according to the year:
if 1970, output is "70's period"
if 1979, output is "70's period"
if 1986, output is "80's period"
if 2010, output is "10's period"
It's possible without custom work?

You could use the Value Display HTML for that field (General Options tab of the field) to get CLOSE to that.


"{$choice}'s period"

That would (should) produce "1970's period"
Thanks @Bob but is't the solution I'm trying to find. Works well with 1970, 1980, 1990, 2000 and 2010 but not to all the years between: 1971, 72, 73....
Why all those options when setting 1970, 71, 72, 73, 74 etc are all going to display "70's period". Why not just create periods and have them set the period instead of a year. What is the purpose of 1971 of the OUTPUT is going to be "70's period"?
Because I like to alias a name to some generations/period: "golden era" insted of 70's período, "neoclassics" insted of 90's period, etc. And them make a filter by that alias name.
Last edited: