網(wǎng)站表單自定義參數(shù)之單文件字段不顯示
創(chuàng)建表單自定義參數(shù)之單文件字段,開發(fā)者工具創(chuàng)建的字段
<div class="form-group">
<label class="col-md-2 control-label">單文件</label>
<div class="col-md-10">
<?php echo dr_fieldform('{"name":"file","fieldname":"banner","ismain":"1","fieldtype":"File","setting":{"option":{"fieldtype":"","fieldlength":"","input":"1","ext":"jpg,gif,png,jpeg","size":"2","attachment":"0","image_reduce":"","is_ext_tips":"0","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', $file, 1, 1);?>
</div>
</div>最后顯示成功,上傳文件保存后,又沒了?哪不對?

$file沒有對
還有data[file]也沒有對
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
你自己手動加的字段,要嘛就是修改數(shù)據(jù)庫表,要嘛就是傳到配置里去
data[setting][file]