Legal analysis: the effective condition for writing a will before committing suicide is that it must be written by the testator himself, whether it is printed or written by others. There are still three indispensable points: the signature of the testator and the date of making the will. Otherwise, this will has no legal effect and can be authenticated.
Legal basis: Article 134 of the Civil Law of People's Republic of China (PRC), a self-written will is written and signed by the testator, indicating the year, month and day.