In some cases the contract or evidence of it must be in a prescribed form; i.e. in writing or by deed, and the rule that a contract must be supported by valuable consideration does not apply in the case of contracts of record or by deed.