On Tue, Feb 8, 2011 at 3:17 PM, George Burt wrote: > Just thought I would ask.  If not, is there any way to apply javascript to > the document before it is saved (from inside couchDB). > > -- George > No, you can't edit docs from validation functions. You can use _update handlers to do some stuff, but you have to use them as the endpoint, there's nothing that hooks into the normal PUT document code paths.