0

我在 Safari 上遇到表单问题。所有其他浏览器都在运行。我正在使用 Safari 5.1.7 运行 ColdFusion 9。

我将用于调试的表单简化为一个简单的表单,其中操作页面与表单页面相同。Safari 没有收到我发送的任何表单值。根据我在其他一些帖子上看到的评论,我重命名了我的 application.cfm,这样它就不会混入其中。

我的页面 test-form.cfm 代码如下:

<html>
    <head>
        <title>My Test Form</title>
    </head>


    <body>
        <cfif isDefined("form.formButton")>
            <cfdump var="#form#">
        <cfelse>
            <cfif isDefined("form.hiddenField")>
                <cfoutput>#form.hiddenField#<br><br></cfoutput>
            <cfelse>
                Form not defined<br><br>
            </cfif>
        </cfif>

        <form name="searchForm" id="searchForm" method="post" action="test-form.cfm">
            Enter Value: <input type="input" name="enteredvalue" id="enteredvalue" size="33" maxlength="255">
            <br>
            <input type="hidden" name="hiddenField" id="hiddenField" value="peekaboo">

            <input type="submit" name="formButton" id="formButton" value="CONTINUE">
        </form>
    </body>
</html>
4

0 回答 0