fix accessing form.method

shouldn't it rather set `this.href = settings.url` for form submits?