我有一个表格中,用户可以动态地添加/删除名称/字段值对,例如:保存页面之间动态创建的表单域请求
inventory list:
[description text input field] [quantity text input field] [remove item button]
[add item button]
所以基本上用户可以添加更多的库存物品:
inventory list:
[description text input field] [quantity text input field] [remove item button]
[description text input field] [quantity text input field] [remove item button]
[description text input field] [quantity text input field] [remove item button]
[add item button]
好吧,如果服务器端字段验证失败,或者如果用户想要稍后编辑自定义创建的表单,保存表单状态的最简单方法是什么? (我不认为它是相关的,但我使用JQuery和CakePHP)
数据将被保存在数据库表中inventory_lists与名称/值列 – brndnmg 2009-08-07 16:50:24