表格停止工作 [英] forms stopped working

查看:91
本文介绍了表格停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在我们的网站上有3个简单的提交表格,这些表格至少在两年内效果很好

。这是一个:
http://www.hcpl。 lib.fl.us/catalog_materialrequest.htm

根据我的知识,没有任何改变。突然

没有交付任何东西。当您在IE中发送表单时,弹出调试器

(第71行出现运行时错误)并在表单中指向以下

行:< form method = QUOT;交" action =" cgi-bin / formmail.pl"

onsubmit =" return validateForm(this)">这不是SMTP问题 -

已验证。我们使用Matts formmail;所以我尝试了NMS formmail

(更安全) - 同样的问题也发生了,所以我们知道它的

不是一个邮件问题。它必须是我们实际的html(xhtml)表单。这可能是一个javascript或html问题不确定。有人看到上面的代码或表格有什么问题吗?谢谢 - 比尔

We have 3 simple submission forms on our website that have worked great
for at least two years. Here is one:
http://www.hcpl.lib.fl.us/catalog_materialrequest.htm
Nothing has changed to my knowledge. Suddenly
nothing is being delivered. When you send the form in IE the debugger
pops up (run time error occured on line 71) and points to the following
line within the form: <form method="post" action="cgi-bin/formmail.pl"
onsubmit="return validateForm(this)"> This is not an SMTP issue -
verified. We were using Matts formmail; so I tried the NMS formmail
(more secure) - the same problem occurred with it also so we know its
not a formmail issue. It must be our actual html (xhtml)form. This may
be a javascript or html issue not sure. Anyone see anything wrong with
the above code or form? Thanks - Bill

推荐答案

Bill写道:
我们的网站上有3个简单的提交表格工作
至少两年。这是一个:
http://www.hcpl。 lib.fl.us/catalog_materialrequest.htm
根据我的知识,没有任何改变。突然间没有任何东西被传递出去。当您在IE中发送表单时,弹出调试器
(第71行出现运行时错误)并指向表单中的
后续行:< form method =" post"
action =" cgi-bin / formmail.pl" onsubmit =" return validateForm(this)">这不是SMTP问题 -
已验证。我们使用Matts formmail;所以我尝试了NMS formmail
(更安全) - 同样的问题也发生了,所以我们知道它不是一个邮件问题。它必须是我们实际的html(xhtml)表单。这个
可能是javascript或html问题,不确定。任何人看到任何错误的
与上述代码或表格?谢谢 - 比尔
We have 3 simple submission forms on our website that have worked great for at least two years. Here is one:
http://www.hcpl.lib.fl.us/catalog_materialrequest.htm
Nothing has changed to my knowledge. Suddenly
nothing is being delivered. When you send the form in IE the debugger
pops up (run time error occured on line 71) and points to the following line within the form: <form method="post" action="cgi-bin/formmail.pl" onsubmit="return validateForm(this)"> This is not an SMTP issue -
verified. We were using Matts formmail; so I tried the NMS formmail
(more secure) - the same problem occurred with it also so we know its
not a formmail issue. It must be our actual html (xhtml)form. This may be a javascript or html issue not sure. Anyone see anything wrong with the above code or form? Thanks - Bill




该页面上验证器的唯一问题是 - 该页面上有* * * no

验证器。只需在表单标记中调用它即可。没有脚本。

忘了< script type =" text / javascript" SRC =" ...">< /脚本> tagbir,
或许




The only thing wrong with the validator on that page is - there *is* no
validator on that page. Just a call to it in the form tag. No script.
Forgot the <script type="text/javascript" src="..."></script> tagpair,
perhaps.


感谢Rob回复 - 这个表格如何在

过去了?如果我理解正确(我可能没有),你说要识别java脚本需要一个

标签。请查看
http://nms-cgi.sourceforge .net / formm ...- 3.14c1 /自述文件

这里的简单表格示例不包含该标签。我不是一个

的程序员,所以任何帮助都会受到赞赏。


RobB写道:
Thanks Rob for responding - how would that form(s) have worked in the
past? If I understand you correctly (and I may not) you are saying a
tag is needed to identify the java script. Look at
http://nms-cgi.sourceforge.net/formm...-3.14c1/README
The example here for a simple form does not include that tag. I''m not a
programmer so any help at all would be appreciated.

RobB wrote:
Bill写道:
我们的网站上有3个简单的提交表单,这些表单已经工作了很长时间
We have 3 simple submission forms on our website that have worked great
至少两年。这是一个:
http://www.hcpl。 lib.fl.us/catalog_materialrequest.htm
根据我的知识,没有任何改变。突然间没有任何东西被传递出去。当您在IE中发送表单时,弹出
调试器(第71行出现运行时错误)并指向
for at least two years. Here is one:
http://www.hcpl.lib.fl.us/catalog_materialrequest.htm
Nothing has changed to my knowledge. Suddenly
nothing is being delivered. When you send the form in IE the debugger pops up (run time error occured on line 71) and points to the


在表单中的


following

行之后: < form method =" post"
line within the form: <form method="post"


action =" cgi-bin / formmail.pl"


action="cgi-bin/formmail.pl"

onsubmit =" return validateForm(this)">这不是SMTP问题 -
已验证。我们使用Matts formmail;所以我尝试了NMS formmail
(更安全) - 同样的问题也发生了,所以我们知道
它不是一个formmail问题。它必须是我们实际的html(xhtml)表单。这个
onsubmit="return validateForm(this)"> This is not an SMTP issue -
verified. We were using Matts formmail; so I tried the NMS formmail
(more secure) - the same problem occurred with it also so we know its not a formmail issue. It must be our actual html (xhtml)form. This


可能

是一个javascript或html问题,不确定。任何人看到任何错误
be a javascript or html issue not sure. Anyone see anything wrong


上面的代码或表格?谢谢 - 比尔
the above code or form? Thanks - Bill



该页面上验证器的唯一问题是 - 那个*是*



The only thing wrong with the validator on that page is - there *is*



该页面上没有验证器。只需在表单标记中调用它即可。没有脚本。
忘了< script type =" text / javascript" SRC =" ...">< /脚本>
tagpair,也许。


no validator on that page. Just a call to it in the form tag. No script.
Forgot the <script type="text/javascript" src="..."></script> tagpair, perhaps.






Bill写道:
感谢Rob回复 - 怎么会这样表格已经过去了吗?如果我理解正确(我可能不会),那么你需要一个
标签来识别java脚本。请查看
http://nms-cgi.sourceforge .net / formm ...- 3.14c1 / README
这里的简单表格示例不包含该标签。我不是
a程序员,所以任何帮助都会受到赞赏。

RobB写道:
Thanks Rob for responding - how would that form(s) have worked in the
past? If I understand you correctly (and I may not) you are saying a
tag is needed to identify the java script. Look at
http://nms-cgi.sourceforge.net/formm...-3.14c1/README
The example here for a simple form does not include that tag. I''m not a programmer so any help at all would be appreciated.

RobB wrote:
Bill写道:
我们在我们的网站上有3个简单的提交表单,这些表单已经工作了很长时间
We have 3 simple submission forms on our website that have worked great
至少两年。这是一个:
http://www.hcpl。 lib.fl.us/catalog_materialrequest.htm
根据我的知识,没有任何改变。突然间没有任何东西被传递出去。当您在IE中发送表单时,弹出调试器(在第71行发生运行时错误)并指向
for at least two years. Here is one:
http://www.hcpl.lib.fl.us/catalog_materialrequest.htm
Nothing has changed to my knowledge. Suddenly
nothing is being delivered. When you send the form in IE the debugger pops up (run time error occured on line 71) and points to the


在表单中的


following

行之后:< form method =" post"
line within the form: <form method="post"


action =" cgi-bin / formmail.pl"


action="cgi-bin/formmail.pl"

onsubmit =" return validateForm(this)">这不是SMTP问题
- 已验证。我们使用Matts formmail;所以我尝试了NMS
formmail(更安全) - 同样的问题也发生了,所以我们知道它不是一个formmail问题。它必须是我们实际的html(xhtml)形式。
onsubmit="return validateForm(this)"> This is not an SMTP issue - verified. We were using Matts formmail; so I tried the NMS formmail (more secure) - the same problem occurred with it also so we know its not a formmail issue. It must be our actual html (xhtml)form.


这可能是

是一个javascript或html问题,不确定。任何人看到任何错误
be a javascript or html issue not sure. Anyone see anything wrong


上面的代码或表格?谢谢 - 比尔
the above code or form? Thanks - Bill



该页面上验证器的唯一问题是 - 该页面上有
*是* no



The only thing wrong with the validator on that page is - there *is* no

验证器。只需在表单标记中调用它即可。否
validator on that page. Just a call to it in the form tag. No



脚本。忘记< script type =" text / javascript" src =" ...">< / script>


script. Forgot the <script type="text/javascript" src="..."></script>


tagpair,


tagpair,

或许。




这个:


< form ..... onsubmit =" return validateForm(this)">


....在上传之前调用一个JavaScript函数''validateForm'来检查一些字段,大概是
。为了使它正常工作,该名称的

函数必须在内存中可用,之前已经从单独的.js文件加载了

或者是

直接嵌入''catalog_materialrequest.htm''。它没有,所以

发生错误。这将导致表单提交,无论如何它是什么?b $ b不清楚这是否是唯一的问题 - 但它肯定是要修复的第一项

。找到该脚本并将其提供给页面。



This:

<form.....onsubmit="return validateForm(this)">

....calls a JavaScript function ''validateForm'' to check some fields,
presumably, before uploading. In order for it to work properly, a
function of that name must be available in memory, having been
previously loaded either from a separate .js file or from being
embedded directly in ''catalog_materialrequest.htm''. It hasn''t been, so
an error occurs. This will cause the form to submit regardless so it''s
unclear if that''s the only issue - but it certainly is the first item
to fix. Find that script and make it available to the page.


这篇关于表格停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆