Updated before callback to occur before form data gets serialized