【发布时间】:2018-05-26 21:05:26
【问题描述】:
我正在使用联系表格 7。我发现如果我使用文件上传输入并且在移动设备上,表格将不会提交。这是表单代码。
[text* full-name placeholder "Full Name"]
[email* your-email placeholder "Email"]
[tel* phone placeholder "Phone Number"]
<div class="input-wrapper">
[text* city class:input-city placeholder "City"]<span class="styled-select">[select* state class:input-state include_blank data:us_subdivisions.states]</span>
</div>
<div class="upload-wrapper">
[file applicants-resume id:fileuploadfield class:fileuploadfield filetypes:pdf|doc|docx id:applicants-resume][text uploadtextfield id:uploadtextfield class:uploadtextfield placeholder "Resume(PDF,Doc)"]<input type="button" id="uploadbrowsebutton" value="Browse">
</div>
[hidden position-id id:position-id "Position ID"]
[submit "Submit"]
我一直在网上搜索,发现其他人有这个问题,但到目前为止还没有解决方案。任何帮助深表感谢。
更新:我发现如果附加了文件,即该字段中有内容,它将起作用。如果该字段为空,它将不起作用。
【问题讨论】:
-
表格是否可以在没有文件上传字段的移动设备上使用?如果您从头开始编写带有上传的普通表单,它可以在移动设备上使用吗?
-
是的,如果没有文件上传字段,表格可以在移动设备上使用
-
注意您指的是哪个“移动设备”非常重要。 IOS 在文件方面存在大量问题。
-
我目前正在IOS测试
标签: javascript php wordpress mobile contact-form-7