我遇到了这个问题。
用户必须从多项选择表中检查一个答案,但该表必须处理多个问题。
<form>
Question1:
This is the question 1 text? (static text question.text property)
- Answer 1 (radio)
- Answer 2 (radio)
- Answer 3 (radio)
Question2:
This is the question 2 text? (static text question.text property)
- Answer 4 (radio)
- Answer 5 (radio)
- Answer 6 (radio)
- Answer 7 (radio)
Question3:
This is the question 3 text? (static text question.text property)
- Answer 8 (radio)
- Answer 9 (radio)
[submit button]
</form>
我这里有两个问题。首先是表格,我如何构建该表格?其次,验证。每个问题都有很多答案,不一样,数量也不一样。
我尝试使用集合和实体,但是......我只会感到沮丧:(
我该如何解决这个问题?