See sample http://jameskrayer.com/objectify/.
objectify (form, exclusions, sanitize); version added 0.1.1
The form element from which fields should be retrieved.
An array of element name attributes to be excluded from the returned object.
An object of functions matching one or more element name attributes. Functions take the input value as an attribute and should return modified data. This will be the value for that field in the returned object.