The trial court erred in denying defendant’s motion for relief from default based on CCP 473(b)’s attorney error provision. The motion for relief was filed within six months after entry of judgment and was accompanied by an attorney declaration of fault. It was in proper form, or at least substantially complied with the form requirements. A motion for relief must be accompanied by an answer or other pleading. A motion to quash is another pleading for this purpose since once filed, it postpones the need for an answer and the ability to take the defendant’s default. It was substantial compliance for the attorney to submit the motion immediately after the hearing on the motion for relief from default since COVID restrictions prevented him from presenting it at the hearing and the judge received it well before ruling on the motion. There was no substantial evidence to support denial on the ground that the default was not caused by the attorney’s fault–so there was no need to resolve the split in authority as to whether the attorney fault must be the sole cause of a default being taken.