MT#10045 Use form->values instead of form->params for contract forms

To process checkbox correctly

(cherry picked from commit 331f1b35826deae276f4a3f7382aa88841758b00)