In December, 1960, the plaintiff applied for a writ of habeas corpus to determine the custody of her two minor children, who, she alleged, were then being unlawfully held by the defendant, their father, the plaintiff’s divorced husband. The writ of habeas corpus has long been used and approved to test the right to custody of a minor child.
Dunham
v.
Dunham,
The right of appeal is purely statutory and is accorded only if the conditions fixed by statute and the rules of court for taking and prosecuting the appeal are met.
Kennedy
v.
Walker,
On the printed record, the action of the trial court from which the appeal is taken did not specifically
*463
affirm, revoke or modify the support order which had been rendered in 1961. Because of the fundamental importance of a jurisdictional question and because the plaintiff does not contest the validity of the appeal, we judicially notice the Superior Court file for further enlightenment.
Kirsch
v.
Braceland,
We turn then to the question of the correctness of the court’s ruling. The question is: Did the court, in the habeas corpus proceeding, have jurisdiction to render an order of support? We have never been asked to rule on the question. Courts in other jurisdictions take opposing views. Cases such as
Buchanan
v.
Buchanan,
We are in accord with the latter view. The employment of the forms of habeas corpus in a child custody case is not for the purpose of testing the legality of a confinement or restaint as contemplated by the ancient common-law writ, or by statute. See General Statutes §52-466;
Wojculewicz
v.
Cummings,
In an equitable action the court endeavors to do complete justice.
Butler
v.
Barnes,
The defendant argues that the court could not award support because it was not made an issue on the pleadings. Lest it be assumed, from what we have said above, that support is so interwoven with the principal issue concerning the child’s welfare
*466
as to make a specific claim for support unnecessary, we hasten to negative the notion. Good practice requires that a specific claim for support should be made in all cases in which it is sought, and the court should have required it to be done in this case. The plaintiff tells us, in argument, however, that the issue was fully litigated at the trial. The defendant says, in explanation, that the financial aspects of the case and the child’s needs were considered only as bearing on the father’s right to custody. The distinction is a nebulous one. It is fundamental that a judgment or decree cannot be rendered if pleadings on which to found it are lacking.
New Haven Sand Blast Co.
v.
Dreisbach,
There is no error.
In this opinion the other judges concurred.
