The property owners in a drainage district may:
(1) Consent to waive the right to resort to courts and may absolutely ratify and confirm what has been done by the board of commissioners and all other officials with reference to the district; and
(2) Thereafter, be forever barred from testing or contesting in any way the validity of the proceedings up to that time, the assessments made or the tax levied for the payment of principal and interest of bonds, or for any other purpose.