All persons who shall offer themselves as sureties on official bonds, whether the same be state, county, township or city bonds, may designate, opposite their signature to such bond, the amount for which they are willing to be bound; and in case of a forfeiture of the bond they shall not be liable for a greater amount than the sum so designated.
K.S.A. 78-107