After stumbling on this REST API Calculate Page (http://resources.arcgis.com/en/help/arcgis-rest-api/#/Calculate_Feature_Service_Layer/02r30000029n00...), I'm curious if there is a sample implementing this call in javascript.
For example:
This would be a great work around for the lack of dynamic default values for fields.