The Department of Human Resources brought this suit to enjoin Delores Wining-er from operating a child care facility in her home. The trial court found that Wininger had not complied with the various minimum standards for registered family homes in violation of Chapter 42 of the Texas Human Resources Code and granted a permanent injunction. Tex.Hum.Res.Code Ann. Chap. 42 (1980 & Supp.1982). The court of appeals dissolved the injunction based on the Department’s failure to have properly pleaded its cause of action.
The Department’s pleadings alleged that Wininger had failed to comply with licensing requirements promulgated for the operation of child care facilities. This pleading was in error, for the proper allegation should have been based on Wininger’s failure to have met the registration requirements of the Code. The unchallenged findings of fact and admissions at trial show the trial court judgment was based on Win-inger’s refusal to comply with the Code registration requirements. Although no *784 pleading error was raised in the trial court or the court of appeals, this impropriety was the basis for the court of appeals’ reversal of this cause. The court did not reach the two points addressed by Wining-er, both of which challenged the constitutionality of the statute in question.
By reversing on this unassigned error, the court of appeals erroneously elevated a pleading defect to the status of fundamental error.
American General Fire and Casualty Co. v. Weinberg,
