我遇到了这个问题。
用户必须从多选表单中检查一个答案,但表单必须处理多个问题。
<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>
我这里有两个问题。首先是形式,我如何建立这种形式? 第二,验证。 每个问题都有很多答案,不一样,而且数量不一样。
我尝试使用收藏品和实体,但......我只会感到沮丧:(
我如何解决这个问题?