(a) The court may grant leave to withdraw the petition at any time prior to the entry of the judgment, may freely allow amendments, and shall require amendments needed to achieve substantial justice and a full and fair hearing of all available grounds for relief. The district attorney general shall be allowed a reasonable time to respond to any amendments.

Have a question?
Click here to chat with a criminal defense lawyer and protect your rights.

(b) The court shall look to the substance rather than the form of the petition, and no petition shall be dismissed for technical defects, incompleteness or lack of clarity until after the petitioner has had reasonable opportunity, with aid of counsel, to file amendments.