It depends: first, the contents of the contract are legal, and the signing of the contract is the true intention of both parties, so the contract signed electronically is valid; Two, the content of the contract is illegal, and the signing of the contract is not the true intention of both parties, then the contract with electronic signature is invalid. Article 146 of the Civil Code: the civil legal act carried out by the actor and the counterpart for false meaning is invalid. The validity of a concealed civil juristic act with false intention shall be handled in accordance with relevant laws and regulations.
Legal objectivity:
Article 13 of the Electronic Signature Law of People's Republic of China (PRC) shall be regarded as a reliable electronic signature if the electronic signature meets the following conditions at the same time: (1) When the electronic signature is used for electronic signature, it belongs exclusively to the electronic signatory; (2) When signing, the electronic signature production data is only controlled by the electronic signer; (3) Any changes to the electronic signature after signature can be found; (4) Any changes to the content and form of the data message after signature can be found. The parties can also choose to use electronic signatures that meet their agreed reliable conditions. Article 14 of the Electronic Signature Law of People's Republic of China (PRC), a reliable electronic signature has the same legal effect as a handwritten signature or seal.