Plugin for new custom field type?

Added by Sebastian M over 10 years ago

I would like to create a plugin that defines a new custom field type. I haven't done any plugins and I'm hoping that there is a similar plugin out there that I could use as a model to learn. Has anyone defined a new custom field type as a plugin?

If it helps trigger thoughts, my custom field type would be a text field, and would have a property where an admin could define a URL with a placeholder (e.g. "http://www.google.com/search?q=$1") . Then when data is entered in the field (e.g. "foo") to the right would be displayed a clickable link to "http://www.google.com/search?q=foo".

My primary use case would be to support links to a couple of external issue tracking systems.