On the 24th day of June, 1910, judgment was entered in the justice’s court of Burley precinct, Cassia county, against appellant and in favor of respondent for the sum of $40 and costs. Thereafter the appellant served on the attorney for respondent a notice of appeal and filed the same with the justice of the peace on the 16th day of July. On the latter date, appellant deposited with the justice of the peace his personal cheek drawn on the Blackfoot State Bank for the sum of $244.60, and dated September 10, 1910. This check was at the time of its delivery to the justice of the peace duly certified by the Blackfoot State Bank and was indorsed in blank by the appellant. The justice of the peace received the cheek and thereupon certified the pleadings, files and records up to the clerk of the district court in conformity with the statute. The clerk of the court retained the check and never cashed it or presented it for payment. Thereafter and on September 5th, the respondent herein filed his motion to dismiss the appeal on several grounds, the principal one of which was “that no sufficient deposit for the payment of costs on appeal has been made by the appellant, and that no undertaking on the appeal for the payment of costs has been executed or filed by appellant.” The district judge dismissed the appeal on the ground that the certified check did not constitute a compliance with see. 4778 of the Rev. Codes, which provides that, “In all civil cases arising in probate and justices’ courts, where an undertaking is required by this code, a deposit with the court of a sum of money equal to the amount of the required undertaking, may be received and held by the court in place of said undertaking.” The appellant has appealed to this court from the order of the district court dismissing his appeal from the justice’s court.
The only question presented here is: Did the deposit of the appellant’s certified check constitute a substantial compli*562anee with the provisions of sec. 4778? It must be admitted in the very outset that the certified check was not ‘ ‘ a deposit . ... of a sum of money equal to the amount of the required undertaking,” etc. In other words, the certified cheek was not money within the ordinary meaning of that term. The only question to be determined is whether or not this was a substantial compliance with the statute such as would entitle the appellant to have his case considered by the court on appeal.
In the first place, we are admonished by see. 4 of the Rev. Codes that “their provisions and all proceedings under them are to be liberally construed, with a view to effect their object and to promote justice.” The check bore date September 10th, and yet it was certified July 15th preceding, which was one day prior to its being presented and delivered to the justice of the peace as a deposit in lieu of an undertaking. Under the provisions of see. 2988 of the Rev. Codes, it is made a felony for any officer, agent, clerk or employee of a bank to certify a check unless the amount called for by such cheek is actually standing to the credit of the drawer on the books of the bank at the time of certification. The section reads as follows:
“No owner, officer, agent, clerk or employee of a bank shall certify a check unless the amount thereof actually stands to the credit of the drawer on the books of the bank, and any person who shall wilfully violhte this provision, shall, on conviction thereof, be deemed guilty of a felony and be punished by a fine not exceeding one thousand dollars. Any such check so certified by a duly authorized person shall be a good and valid obligation of the bank in the hands of an innocent holder.”
This section would fix the liability of the bank as of the date of the certification irrespective of the date of the check. Turning, however, to sec. 3469 of the Rev. Codes, dealing with the subject of “ante-dating and post-dating” negotiable paper, we find the following provision: “The instrument is not invalid for the reason only that it is ante-dated or post*563dated, provided this is not done for an illegal or fraudulent purpose. The person to whom an instrument so dated is delivered acquires the title thereto as of the date of delivery.” Turning again to sec. 3644, Rev. Codes, we find that, “Where a cheek is certified by the bank on which it is drawn, the certification is equivalent to an acceptance.” The latter section is reinforced by the provisions of sec. 3646, which fixes the liability of the bank upon its acceptance of certification.
In view of these various provisions of the statute, it is clear to us that the absolute liability of the bank attached at the time of the certification, and that upon the delivery of the check thus certified, the bank immediately became liable to the holder of the paper and was bound to set aside and appropriate from the funds in the bank to the credit of the drawer a sum sufficient to pay this cheek, and that the check was payable at any time it might be presented at its banking house for payment during business hours. This was in effect the same as a certificate of deposit. (Metropolitan National Bank v. Jones, 137 Ill. 634, 31 Am. St. 403, 27 N. E. 533, 12 L. R. A. 492; Merchants’ Bank v. State National Bank, 10 Wall. (U. S.) 604, 19 L. ed. 1008; First National Bank v. Whitman, 94 U. S. 343, 24 L. ed. 229.)
In the latter case, the supreme court of the United States, in discussing the liability of a bank on a certified check, among other things, said:
“It is not to be doubted, however, that it is within the power of the bank to render itself liable to the holder and payee of the check. This it may do by a formal acceptance written upon the cheek, in which case it stands to the holder in the position of a drawer and acceptor of a bill of exchange. .... Whether this certificate be obtained by the drawer before the check is delivered,, and is thus made an inducement to the payee to receive the same, or whether it is made upon the application of the payee for his security, is of no importance. It is a contract recognized by the law, valid in its character, which essentially changes the position of the parties. The privity of contract with the drawee, which before pertained to the drawer alone, is now imparted to the payee, *564and the duty which before existed to the drawer now exists to the payee.”
In National Commercial Bank v. Miller & Co., 77 Ala. 168, 54 Am. Rep. 50, the court, in discussing the liability of a bank on a certified cheek, said: “A certified check has a distinctive character as a species of commercial paper, the certification constituting a new contract between the holder and the certifying bank; the funds of the drawer ar.e, in legal contemplation, withdrawn from his credit, and appropriated to the payment of the cheek, and the bank becomes the debtor of the holder as for money had and received.”
In view of the fact that the agents, officers and employees of the bank are absolutely prohibited under the pains and penalties of a felony from certifying a check unless the drawer has the money actually on deposit in the bank, it seems dear that it is the duty of the bank, upon certifying a cheek, to withdraw that amount from the drawer’s account and hold it as a trust fund, subject to the payment of the cheek whenever returned to the bank in due course of business. It is contended, however, by respondent that even though the check be certified, still this is no evidence or certification of the solvency of the bank. In support of this contention, counsel cites and relies on Born v. First National Bank of Indianapolis, 123 Ind. 78, 18 Am. St. 312, 24 N. E. 173, 7 L. R. A 442. This authority holds distinctly that certification of a check in itself carries with it no evidence of the solvency of the bank. In the case at bar, however, it must be remembered that no question arises as to the solvency of the bank on which this check was drawn and by which it was certified. For the purposes of the case, it is practically admitted that the bank is solvent and that the cheek would be paid on presentation. It is equally clear that the justice of the peace might have declined to receive the check. He might have demanded the money instead and refused to receive the cheek. He did not do this, however. He received the check and treated it as so much money, and accordingly certified the case up to the district court as required by statute upon the theory that a money deposit had been made. *565The check could have been cashed by the justice of the peace or by the clerk of the district court. Apparently, however, the officers seemed to be content with the check and treated it as so much money. While it was not “the legal medium of payment” (Born v. First National Bank, supra), it was the substitute for money which is commonly and generally used these days in business and commercial transactions and likewise in legal proceedings. The supreme court of Nevada in Alt v. Cal. F. S. Co., 18 Nev. 423, 4 Pac. 743, has held to the same effect.
In our judgment, appellant substantially complied with the provisions and requirements of the statute and ought to have had his appeal heard on its merits. This seems to us especially true where no contention is made that the bank was insolvent or that the check eould'Tiot be collected and where the justice of the peace received the cheek and treated it as so much money. It is quite evident that this method of making the deposit would ordinarily be much better security to the respondent than the average bondsmen who usually sign surety bonds for such purposes.
In addition to the provisions of see. 4, Rev. Codes, above cited, the courts of this state are also admonished by the provisions of sec. 4231, Rev. Codes, that they “must, in every stage of an action, disregard any error or defect in the pleadings or proceedings which does not affect the substantial rights of the parties.....” In our judgment, the substantial rights of the parties, as the facts appear from this record, would not and could not have been prejudicially affected by allowing this appeal to stand and the case to be heard on its merits where a certified check was on deposit as it was in this case.
The judgment will be reversed and the cause remanded, with direction to the trial court to overrule the motion to dismiss the appeal and hear the case on its merits. Costs awarded in favor of appellant.
Sullivan, J., concurs.