528 So.2d 512 (1988)
Eugene MAILLARD and Patricia Lynch, Husband and Wife, Appellants,
v.
Thomas J. DOWDELL, III, and Bonefish Towers Condominium Association, Appellees.
No. 87-2152.
District Court of Appeal of Florida, Third District.
July 19, 1988.
*513 Sutton, Jamerson & Mullin and John O. Sutton, Coral Gables, for appellants.
Thomas J. Dowdell, III, Franklin D. Greenman, Marathon, for appellees.
Before SCHWARTZ, C.J., and HENDRY and NESBITT, JJ.
HENDRY, Judge.
Plaintiffs, Eugene Maillard and Patricia Lynch, upon learning the condominium unit they had recently purchased contained serious structural defects, brought a multi-count complaint against numerous defendants, including Bonefish Towers Condominium Association and Thomas J. Dowdell, the attorney who represented the plaintiffs in purchasing the condominium unit. The trial court entered orders of dismissal in favor of defendants Bonefish Condominium and Dowdell for failure to state a cause of action. Plaintiffs appealed.
Count five of plaintiffs' complaint alleged that Bonefish Towers Condominium Association had a fiduciary duty to plaintiffs as prospective purchasers to disclose information the association possessed concerning the defective condition of the condominium building prior to the sale. Bonefish Towers filed a motion to dismiss, claiming the condominium association owed no duty of disclosure to plaintiffs as prospective *514 purchasers. In granting the motion to dismiss the trial court found that the statutory duty of condominium associations to their unit owners, pursuant to section 718.111(1)(a), Florida Statutes (1985),[1] does not extend to prospective purchasers. After considering plaintiffs' arguments on appeal and finding them unpersuasive, we affirm the trial court's order of dismissal.
Bonefish Towers further claims they are entitled to attorney's fees under a provision of the declaration of condominium which awards costs and fees to the prevailing party "in any proceeding arising because of an alleged failure of an apartment owner of the association to comply with the terms of the Declaration." We cannot accept this argument. When this cause of action accrued, plaintiffs were prospective purchasers and not unit owners; consequently, this was not a "proceeding arising because of an alleged failure of an apartment owner ... to comply with the terms of Declaration." The contractual provision awarding attorney's fees would be inapplicable to plaintiffs. Turnberry Towers Corp. v. Mechoulam, 425 So.2d 1180 (Fla. 3d DCA 1983); Pacheco v. Lincoln Palace Condominium, Inc., 410 So.2d 573 (Fla. 3d DCA 1982).
We turn now to the legal malpractice count against attorney Dowdell. The seller of the condominium unit, the William Creasy Agency, Inc., allegedly told the plaintiffs and Dowdell prior to the sale that the condominium association was involved in litigation in Dade Circuit Court with the developers and builders of the condominium to recover the costs of repairing minor cosmetic defects. After the sale, the plaintiffs learned the true purpose of the litigation was to recover considerable damages for serious structural defects. In count four of their complaint, plaintiffs alleged Dowdell was negligent in conducting his duties as an attorney in that he failed to use proper diligence to ascertain the exact nature of the construction defects and acquaint himself with the true underlying facts of the condominium action. The trial court granted Dowdell's motion to dismiss, finding the complaint:
fails to allege facts which constitute legal malpractice in that an attorney employed as alleged, to represent the purchaser of the condominium parcel, has no duty to investigate structural defects or the content of the lawsuit filed by the Condominium Association in Dade County against developers, builders, and materialmen involving structural defects in the condominium improvements when the existence of the lawsuit had been made known to the purchaser and the attorney does not withhold any information known to him concerning the lawsuit, that was not already also known by or disclosed to the purchaser and the attorney was not hired specifically to look into the lawsuit or investigate the structure.
In any legal malpractice suit the plaintiff is required to prove (1) the attorney's employment; (2) the attorney's neglect of a reasonable duty; and (3) that such negligence resulted in and was the proximate cause of loss to the plaintiff. Maryland Casualty Co. v. Price, 231 F. 397 (4th Cir.1916), as adopted in Weiner v. Moreno, 271 So.2d 217 (Fla. 3d DCA 1973). In establishing the first element, the attorney's employment, it is not sufficient merely to assert an attorney-client relationship existed between the parties; it is essential to allege the relationship existed with respect to the acts or omissions upon which the malpractice claim is based. Kurtenbach v. TeKippe, 260 N.W.2d 53 (Iowa 1977). See also Lawyers Professional Liability Ins. Co. v. McKenzie, 470 So.2d 752 (Fla. 3d DCA 1985) (plaintiff had to prove attorney was hired for the specific purpose of getting back property and not merely recovering money owed); Boyd v. Brett-Major, 449 So.2d 952 (Fla. 3d DCA 1984) (attorney was hired to delay mortgage foreclosure action and not to win the case).
In ruling on a motion to dismiss for failure to state a cause of action a court is *515 bound in its consideration to the allegations found within the four corners of the complaint and must accept these allegations as true. Copeland v. Celotex Corp., 447 So.2d 908 (Fla. 3d DCA 1984), quashed on other grounds, 471 So.2d 533 (Fla. 1985); Emile v. Florida Power & Light Co., 426 So.2d 1152 (Fla. 3d DCA 1983); Dunnell v. Malone & Hyde, Inc., 425 So.2d 646 (Fla. 3d DCA 1983). The fundamental question a court must consider in ruling on a motion to dismiss is whether by proving the allegations in the complaint the plaintiff would establish a cause of action against the defendant. Dykema v. Godfrey, 467 So.2d 824 (Fla. 1st DCA 1985). We hold the trial court correctly concluded that plaintiffs had no cause of action against Dowdell.
Plaintiffs alleged Dowdell was employed to represent them in the purchase of the condominium. No allegations were made that Dowdell was instructed to do anything other than represent plaintiffs in the purchase of the property. Generally, the duties of an attorney employed to represent the buyer in a real estate transaction are "to investigate the title to real estate, to make a painstaking examination of the records and to report all facts relating to the title... ." and give an opinion on the marketability of the title to the property, St. Pius X House of Retreats v. Diocese of Camden, 88 N.J. 571, 443 A.2d 1052, 1061 (1982), and to handle the real estate closing. Plaintiffs did not allege that Dowdell was negligent in performing these duties. Furthermore, plaintiffs did not allege Dowdell was employed to investigate or even inquire into the condominium association action or the structural soundness of the building. Nor did plaintiffs assert Dowdell knew of facts material to the purchase of the condominium but failed to disclose those facts to them.
Finally, the plaintiffs did not claim Dowdell completely disregarded matters coming to his attention which should reasonably have put him on notice that plaintiffs would have legal problems that were not precisely or totally within the scope of the task Dowdell was employed to perform. See Daugherty v. Runner, 581 S.W.2d 12 (Ky.App. 1978). Accordingly, we find that plaintiffs have failed to allege a cause of action against Dowdell for legal malpractice, thus the trial court's order of dismissal is
Affirmed.
SCHWARTZ, Chief Judge (dissenting in part).
In my view, a jury could properly find that an attorney hired by out of state clients to represent them in the purchase of a condominium unit has the duty to exercise reasonable care to determine, in the light of information of which he is on actual notice, that the building was the subject of a well-justified claim of defective construction and that the value of the unit was therefore markedly less than the purchase price. In this case, in which this fact could have been discovered merely by examining the complaint and its attached exhibits in an action of which he was specifically aware, or by asking a representative of the condominium association, I believe also that there is a valid question as to whether that duty was breached. Contrary to the majority, I think the observation of the court in Daugherty v. Runner, 581 S.W.2d 12 (Ky.App. 1978), is directly apropos:
An attorney cannot completely disregard matters coming to his attention which should reasonably put him on notice that his client may have legal problems or remedies that are not precisely or totally within the scope of the task being performed by the attorney.
581 S.W.2d at 17. For this reason, I would reverse the dismissal of the complaint as to the attorney Dowdell.
I concur in the court's opinion as to the claim against the condominium association.
NOTES
[1] Section 718.111(1) (a) in relevant part states: "The officers and directors of the association have a fidiciary relationship to the unit owners."
The legal case presented involves a dispute related to property purchase, alleged negligent representation, and duty of disclosure. Here's a processed output that uses System 1 and System 2 thinking to analyze the situation and provide insights.
[sys1]
The plaintiffs, Eugene Maillard and Patricia Lynch, felt misled after purchasing a condominium with structural defects. They filed complaints against the attorney and condominium association, but the court dismissed their claims.
[end sys1]
[sys2]
2.1 Understand the Problem:
The plaintiffs argue that both the attorney and the condominium association failed in their duties regarding the purchase. The challenge is determining if there was a fiduciary duty from the association and if there was legal malpractice by the attorney.
Reflection:
"I recognize the essence of the plaintiffs' grievances, but what are the specific legal obligations of each party? Am I missing any critical details around these roles?"
Creative Perspective:
"There may be overarching misconceptions about what 'fiduciary duty' entails for prospective buyers. Could emerging case laws or alternative legal interpretations be of interest here?"
2.2 Analyze the Information:
It's crucial to break down the legal responsibilities claimed by the plaintiffs and contested by the defendants. Understanding precedent and statutory obligations is essential here.
Reflection:
"Am I considering all potential interpretations of 'fiduciary duty?' Are there distinctions in statutory rules that change perspectives or outcomes significantly?"
Creative Perspective:
"Do trends in real estate law indicate shifts that might influence future cases? How might societal attitudes toward buyer's rights reflect on this?"
2.3 Generate Hypotheses:
- The condominium association has no disclosure duty to prospective buyers. (Confidence: 0.9, Creative: 0.3)
- The attorney fulfilled his role as defined, excluding structural investigations. (Confidence: 0.8, Creative: 0.4)
- There is a gap in legal protection for knowledgeable real estate purchases. (Confidence: 0.6, Creative: 0.6)
- Plaintiffs misinterpreted their legal advice and its scope. (Confidence: 0.7, Creative: 0.4)
- Legal precedents misalign with contemporary buyer needs. (Confidence: 0.5, Creative: 0.7)
- The real estate purchase overlooked establishing fiduciary trust. (Confidence: 0.4, Creative: 0.6)
- Communication gaps in disclosure responsibility between legal parties exist. (Confidence: 0.7, Creative: 0.5)
- Legal expectations of attorney roles should evolve in property disputes. (Confidence: 0.5, Creative: 0.7)
- Potential systemic flaws in condo statutes impacting buyer information. (Confidence: 0.6, Creative: 0.6)
- Attorneys should advise on unintended legal ramifications in purchases. (Confidence: 0.5, Creative: 0.8)
Reflection:
"Have I explored every angle of the dismissal's legal reasoning? What unexpected interpretations could lead to different conclusions?"
Creative Perspective:
"Could interdisciplinary insights from psychology or sociology reveal motivations or misalignments in client-attorney relationships?"
2.4 Anticipate Future Steps and Obstacles:
Objective: Predict challenges in refining duties of disclosure and understanding legal representation limits.
Reflection:
"What are the potential resistances to changing current legal statutes? Could educational initiatives alter perceptions of legal roles in real estate?"
Creative Perspective:
"How might future legislative trends impact disclosure duties? What are the transformative possibilities within the legal field regarding buyer protection?"
[end sys2]
[sys1]
The court determined that the condominium association was not responsible for disclosing defects to prospective buyers, and the attorney did not breach his duty given the transaction's defined legal scope.
[end sys1]
By evaluating the problem with both quick insights and deeper analysis, this output offers a comprehensive understanding of the case's complexities and legal implications.