表单添加多项

添加表单,现在框架没有点加号,添加一列相同的输入框,这样的功能
描述详细点:一个表单里,有几个输入框需要重复出现多次,刚开始只显示一次,点击加号后加一行,以此类推
建议后续版本开发
示例代码:
	<div class="mb6">
<span>
分类名称:<input type="text" id="type_name" name="type[1][name]" class="input-text" size="15">  
分类路径:<input type="text" name="type[1][typedir]" id="type_path" class="input-text" size="15">  
排序:<input type="text" name="type[0][listorder]" value="1" size="6" class="input-text">
</span> 
<span id="typeTip" class="onError">输入分类名称!</span>
</div>

<div class="mb6">
<span>
分类名称:<input type="text" name="type[2][name]" class="input-text" size="15">  
分类路径:<input type="text" name="type[2][typedir]" class="input-text" size="15">  
排序:<input type="text" name="type[2][listorder]" value="2" size="6" class="input-text">
</span> 
<a href="javascript:;" onclick="descItem(this, 2);">移除</a>
</div>
已邀请:

a3613276

赞同来自:

支持一下! 我也觉得构造器需要这样的功能 不能只是单一的添加一行  可以给个按钮添加多行活多列

dolphinphp

赞同来自:

感谢您的建议,后续版本会继续加强

要回复问题请先登录注册