*540 Opinion
рroject, Mark and Valeria Milman and Leonid and Katrin Stolyarov brought an action against Josif Dubrovsky, Victor and Helen Shukhat, and others, alleging breach of contract, fraud, constructive fraud, and breach of covenant of good faith and fair dealing. Insofar as it related to the Shukhats, the plaintiffs sought declarаtory relief concerning the rights of the parties under two notes and two deeds of trust which, on their face, appeared to have been signed by the Shukhats. During discovery, however, it was established that the Shukhats’ signatures had been forged on the documents by Dubrovsky’s employee, Vladimir Shapiro. Based on that fact, the Shukhаts successfully moved for summary judgment. The Shukhats’ motion for attorney fees pursuant to Civil Code section 1717 1 was denied.
The Shukhats appeal from the order denying attorney fees. 2 We reverse.
I. Facts
Josif Dubrovsky, a real estate broker for S & J Realty Investments, was involved a real estate development project in the Strawberry Point area of Marin County, which entailed the development of four lots and the building and selling of four luxury homes. Vladimir Shapiro was еmployed as a licensed salesperson by S & J, and was responsible for the documentation and development of the Strawberry Point Project. The parties to this appeal were all investors in that project.
In the fall of 1988, Shapiro approached appellants Victor and Helen Shukhat and asked if they would like to invest in the project. The Shukhats agreed, and invested $50,000.
In January 1989, respondents Mark and Valeria Milman invested $80,000 in the project. A few months later, respondents Leonid and Katrin Stolyarov invested $50,000. Dubrovsky gave each couple straight notes as evidence of their investments, payable upon completion and sale of the homes.
Unbeknownst to the Shukhats, Dubrovsky and Shapiro transferred title to the four lots in the project into the names of various investors, including one lot placed in the name of the Shukhats. Later in 1989, Dubrovsky asked Shapiro to sign the Shukhats’ names to promissory notes and deeds of trust, *541 made out in favor of the Milmans and Stolyarovs, respectively. Upon assurances by Dubrovsky that this was merely a formality, Shapiro signed the Shukhats’ name on the documents and gave them to Dubrovsky. Du-brovsky then took the deeds to a notary public and asked her to notarize them. Out of friendship to Dubrovsky, the notary did so.
Dubrovsky then sent these promissory notes and deeds of trust to the Milmans and Stolyarovs. They assumed the documents were offered as further security for the original notes signed by Dubrovsky when the investments were first made. The Shukhats did not know at the time that any of this had occurred.
The Shukhats first became aware of these documents almost two years later, during the fall of 1991, whеn Mark Milman called Shukhat and asked for payment on a note which Milman said had become due. Shukhat said he did not know Milman nor had he signed any documents relating to him. On December 3, 1991, Milman sent a demand letter to the Shukhats, and enclosed a copy of the note and deed of trust which appeared to bear thе Shukhats’ signatures.
When Shukhat received these documents, he called Shapiro for an explanation. Shapiro said that his signing of the documents “was a mere formality,” and he assured Shukhat that he would not be responsible for the consequences. Shukhat told Shapiro that under no circumstances was he to sign the Shukhats’ names to any other documents.
In February 1992, the Milmans and Stolyarovs filed this action against Dubrovsky, the Shukhats, and others. In their complaint, the plaintiffs, in part, sought declaratory relief concerning the rights of the parties under the two notes and two deeds of trust.
In the causes of action at issue in these proceedings, plаintiffs alleged that Dubrovsky was claiming the original notes signed by him were unenforceable. Instead, Dubrovsky was claiming the Shukhats were liable to the plaintiffs on the later notes and deeds of trust. Plaintiffs alleged that the Shukhats were claiming their signatures on the documents were forged and that therefore they were not liable. The plaintiffs’ theory was that Dubrovsky was responsible on the original notes, with the Shukhats secondarily liable under the subsequent notes and deeds of trust. Plaintiffs asked the court to declare the rights of the parties.
In their complaint, plaintiffs quoted from the notes and deeds of trust and attached them as exhibits. They alleged that eaсh note “also provided for *542 attorney fees if an action should be brought on the note.” Each note contained the following statement: “Should suit be commenced to collect this note or any portion thereof, such sum as the Court may deem reasonable shall be added hereto as fees.”
The Shukhats answered by filing a general denial.
At a deрosition in August 1992, Dubrovsky admitted that he had asked Shapiro to sign the Shukhats’ names on the notes and deeds of trust. Based on this admission, the Shukhats’ attorney wrote to plaintiffs’ attorney and asked that the matter against them be dismissed. Although acknowledging the apparent forgery, plaintiffs’ attorney refused to dismiss the claims against the Shukhats.
Sеveral months later, the Shukhats’ attorney again suggested that plaintiffs dismiss their claim against the Shukhats. He warned that the Shukhats were being forced to spend money on attorneys “for which [the Shukhats] will seek indemnity from someone else. [¶] Your clients may want to take steps to limit this risk.”
In December 1992, the Shukhats moved for summary judgment, citing as an undisputed fact that the promissory notes and deeds of trust relied upon by the plaintiffs had been forged by Vladimir Shapiro without their knowledge or authority. Plaintiffs did not directly dispute these facts. Instead, they stated that when the documents were received, they believed in good faith they were intended to be additional security for Dubrovsky’s earlier note.
The trial judge granted the Shukhats’ motion for summary judgment, finding that the Shukhats were “not liable under the promissory notes and trust deeds attached to the complaint . . . , that Plaintiffs Mark Milman, Valerie [sic] Milman, Leonid Stolyarov, and Katrin Stolyarov shall take nothing against [the Shukhats] under their complaint, that [the Shukhats] are the prevailing party and shall recover . . . their costs of suit and their reasonable attorney’s fees to the extent awarded upon proper and timely application to this Court.”
The Shukhats then moved for attorney fees under section 1717. Plaintiffs opposed the motion on the ground that in proceeding agаinst appellants, they were seeking declaratory relief and were not seeking “to enforce that contract” within the meaning of section 1717. A commissioner, sitting as a temporary judge, denied the motion for attorney fees “in its entirety on the grounds that the underlying action against them did not involve an action on a contract.”
*543 II. Discussion
Section 1717, subdivision (a) provides, in part; “In any action on a contract, where the contract specifically provides that attorney’s fees and costs, which are incurred to enforce that contract, shall be awarded either to one of the parties or to the prevailing рarty, then the party who is determined to be the party prevailing on the contract, whether he or she is the party specified in the contract or not, shall be entitled to reasonable attorney’s fees in addition to other costs. . . .”
Section 1717 was enacted to establish mutuality of remedy where a contractual provision makes recovery of attorney fees available for only one party and to prevent oppressive use of one-sided attorney fees provisions.
(Reynolds Metals Co.
v.
Alperson
(1979) 25 124, 128 [
Thus, in a routine action to enforce a promissory note, where a defendant prevails on a theory that does not involve a challenge to the validity of the contract, the defending party clearly would be entitled to recover attorney, fees. In this case, however, we have an action in declaratory relief in which the defendants prevailed because their signaturеs on the purported contracts were forged. Thus, respondents argue that the proceedings did not involve an action “on the contract” nor was the proceeding brought “to enforce that contract” within the meaning of section 1717.
Section 1717 was enacted in 1968. (Stats. 1968, ch. 266, § 1, p. 578.) It is one of several similarly worded statutes which are recognized as being “part of an overall legislative policy designed to enable consumers and others who may be in a disadvantageous contractual bargaining position to protect their rights through the judicial process by permitting recovery of attorney’s fees incurred in litigаtion in the event they prevail. (See e.g., Civ. Code, § 1811.1 [Installment Sales Contracts]; Civ. Code, [Conditional Sales Contracts]; [citations].)”
(Coast Bank
v.
Holmes
(1971)
One of the statutes just cited, section 1811.1, was construed by our Supreme Court in 1968.
(Morgan
v.
Reasor Corp.
(1968)
Another similarly worded statute, section 2983.4, was construed in
Leaf v. Phil Rauch, Inc.
(1975)
The statute in this case, section 1717, was construed in
Care Constr., Inc. v. Century Convalescent Centers, Inc.
(1976)
In
Jones v. Drain
(1983)
Numerous appellate decisions have since applied section 1717. In
North Associates
v.
Bell
(1986)
Turning to this case, we hold first that section 1717 does apply, even though the relief sought by respondents was of a declaratory nature.
(Morgan
v.
Reasor Corp., supra,
Moreover, as we have stated, one рurpose of section 1717 was to establish mutuality of remedy when the contract makes recovery of attorney fees available for only one party.
(Reynolds Metals Co.
v.
Alperson, supra,
Under our facts, had plaintiffs prevailed in this case, the Shukhats’ forgery defense necessarily would have been disbelieved. In that situation, the promissory notes would be valid, and the plaintiffs could recover attorney fees under those notes. Under section 1717, if plaintiffs would have been able to recover attorney fees from the Shukhats had they prevailed, the Shukhats likewise may recover fees from plaintiffs should they prevail. This holds true even though the basis for the Shukhats’ successful motion for summary judgment was the undisputed fact that their signatures on the disputed documents had been forged. Since the action “involved” a contract, and plaintiffs would have been entitled to recover attorney fees under the contract had they prevailed, the Shukhats are entitled to attorney fеes even though they prevailed by successfully arguing the nonexistence of the same contract. (See
North Associates
v.
Bell, supra,
Respondents cite
Sciarrotta
v.
Teaford Custom Remodeling, Inc.
(1980)
Although a trial court retains great discretion in fixing the amount of attorney fees, it was an abuse of discretion in this case for the trial court to deny appellants attorney fees altogether.
(Christensen
v.
Dewor Developments
(1983)
Appellants ask this court to determine the appropriate amount of attorney fees to be awarded relating to activities in the trial court. They also ask that we separately award attorney fees and costs incurred during this appeal.
Although we possess the power to appraise and fix attorney fees, the better practice is to remand the cause to the trial court to determine the amount of such fees. (See
Schoolcraft
v.
Ross
(1978)
III. Disposition
The order denying defendants’ claim for attorney fees is reversed. Defendants shall be permitted to make a motion in superior court for attorney fees in the superior court and on appeal. Defendants shall recover costs on appeal.
Notes
Unless otherwise stated, all section references are to the Civil Code.
An order denying attorney fees is an appealable order. (See
Smith
v.
Krueger
(1983)
In 1983, the Legislature amended section 1717, subdivision (a) by adding the following language: “Where a contract provides for attorney’s fees, as set forth above, such provision shall be construed as applying to the entire contract, unless each party was represented by counsel in the negotiation and execution of the contract, and the fact of that representation is specified in the contract.” (Stats. 1983, ch. 1073, § 1, p. 3785.)
