In reply to Michele.

Michele, there is not a way to intercept/edit code programmatically as it is being submitted.