One is required to swear, under penalty of perjury, in a signed and witnessed document, that one has abided by the laws pertaining to public disclosure of campaign funding. One is not required to sign anything swearing that one has abided by the canons of judicial ethics. The folks who lose judicial elections are off the hook, in any event. No one in this state has ever initiated a disciplinary proceeding against a judge who ran a successful campaign, alleging that he/she violated the judicial canons by complying with the public disclosure law. Sometimes, one has simply to be pragmatic and pray that good sense will prevail, should one ever be called to account.