Since 1982, California law has required contingent fee agreements between a lawyer and a "plaintiff" to meet certain tests. 

Ten years after the law took effect, a California court of appeals held that the law doesn't apply "outside the litigation context."  Franklin v. Appell, 8 Cal. App. 4th 875, 892 (Cal. App. 1992) (involving