Auto-fill / default value plugin?

Hi, does anyone know of a plugin that allows you to automatically insert a default value into a field when a new item record is being created?


Joe Easterly

I don’t know of anything that would work out of the box, but if you have some PHP/Javascript experience, I think you could probably create a simple plugin to do this using something like…

class DefaultValuesPlugin extends Omeka_Plugin_AbstractPlugin
	protected $_hooks = array(

	public function hookAdminFooter(){
          alert('delete this and add some custom javascript here to pre-fill forms with default values');

The above is way over-simplified, but it’s probably about where I would start.