Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 为什么;“数据表类型”;元素使我的提交按钮不起任何作用?_Html - Fatal编程技术网

Html 为什么;“数据表类型”;元素使我的提交按钮不起任何作用?

Html 为什么;“数据表类型”;元素使我的提交按钮不起任何作用?,html,Html,我用一些拖放生成器制作了我的简单前端,因为我只想用我的API尝试一些东西。在表单标签中,有一个“数据表单类型”使我的提交按钮不起任何作用,但当我删除它时,按钮起作用了。你们有谁知道它是干什么的吗???提前谢谢 <div class="container"> <div class="mbr-section-head"> <h3 class="mbr-section-title mbr-fonts

我用一些拖放生成器制作了我的简单前端,因为我只想用我的API尝试一些东西。在表单标签中,有一个“数据表单类型”使我的提交按钮不起任何作用,但当我删除它时,按钮起作用了。你们有谁知道它是干什么的吗???提前谢谢

<div class="container">
    <div class="mbr-section-head">
        <h3 class="mbr-section-title mbr-fonts-style align-center mb-0 display-1">
            <strong>Login</strong></h3>
        
    </div>
    <div class="row justify-content-center mt-4">
        <div class="col-lg-8 mx-auto mbr-form" data-form-type="formoid">
            <form action="auth" method="POST" class="mbr-form form-with-styler mx-auto" >
                <div class="dragArea row">
                    <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                        <input type="text" name="email" placeholder="Email"class="form-control" value="" required>
                    </div>
                    <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                        <input type="password" name="password" class="form-control" value="" placeholder="Password" required>
                    </div>
                    
                    <ni class="col-auto mbr-section-btn align-center">
                        <input type="submit" class="btn btn-primary display-4" value="submit">
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

登录

我提到的元素是{data form type=“formoid”}元素。

这个属性与表单提交无关!我刚刚复制了您添加的HTML标记并执行了成功的请求!,