allow BASE_PATH and URL to be specified via environment; expect form.required instead of form.req with an asterisk