【发布时间】:2015-12-20 18:53:26
【问题描述】:
我正在努力创建清单表单
我如何创建一个 html 清单表单
例如:-
下拉菜单,我可以从中选择供应商,
当我选择一个特定的供应商时,它应该加载供应商的数据:
'我们提前付款吗?'和一个“输入单选”按钮。 当且仅当单击此按钮时,它才会加载更多选项:
option1: - 'Is invoice more than than 100 dollars?' and a 'Input Radio' button.
If, and only if, this button is clicked it should load some more options:
'Add special terms' followed by a 'Input(checkbox)'
'Inform supplier' followed by a 'Input(checkbox)
option2: - 'Special attention required?' and a 'Input Radio' button.
If, and only if, this button is clicked it should load some more options:
'special terms applied' followed by a 'Input(checkbox)'
'supplier contacted by phone' followed by a 'Input(checkbox)'
'email sent to supplier' followed by a 'Input(checkbox)'
option3: 'Invoice created' followed by a 'Input(checkbox)'
在底部应该有一个“提交”按钮。当我点击它时,它应该检查所有复选框是否已被选中。
请帮忙...谢谢
【问题讨论】:
-
我们不会为您编写代码 - 我们会帮助您改进代码或发现代码中的缺陷。但在所有情况下,您都需要先做好自己的工作。
标签: javascript html forms