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 3467fadf6a73606eb8d5cf43c9f82501d5075698)