handle forms in a remotely sane way