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

To process checkbox correctly

(cherry picked from commit 331f1b35826deae276f4a3f7382aa88841758b00)
(cherry picked from commit 66b27ac7b86d227d0f946915f2cd0df405c67a31)