Pastable version of DRYing/shortening form processing