jquery函数多个上传字段单独添加 [英] Jquery function multiple upload fields add indivdually
本文介绍了jquery函数多个上传字段单独添加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发现这个: http://kg69design.com/multiple-files-uploading-cf7.html ,但我似乎无法得到它的工作
任何帮助谢谢
解决方案
- 转到插件并从插件中选择联系人7。
- 转到modules文件夹。
- 找到 file.php / strong>,然后在任何编辑器中打开它。
- 复制并粘贴下面的第45行代码片段。现在可以在您的联系表单中找到。
$ atts ['multiple'] = true;
I have a contact form that I have set up using contact form 7 for wordpress. What I would like to know is if there is a function that when the user clicks on an add button a new file upload option appears so they can have a maximum of 5 file upload fields but 1 shows initially and then they add another one as they need it.
I found this: http://kg69design.com/multiple-files-uploading-cf7.html but I can't seem to get it to work
any help would be appreciated.
thanks
解决方案
- Go to the plugin and select contact 7 from plugin.
- Go to the modules folder.
- Find the file.php and open it in any editor.
- Copy and paste the below code snippet in line number 45.
- Multiple file select and upload in now available in your contact form.
$atts['multiple'] = true;
这篇关于jquery函数多个上传字段单独添加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文