source: Dev/trunk/src/client/qed-client/model/widgets/questions/templates/MultipleChoiceInputConfigWidget.html

Last change on this file was 525, checked in by hendrikvanantwerpen, 11 years ago
  • Allow empty subcodes.
  • Use HTTPResult exclusively on server (no more q).
  • Set readonly & disabled on ourselves as well in _ComplexValueMixin
  • Split server into several modules.
  • Check codes on the variable level, not question level.
  • We can add modules in design documents now.
File size: 1016 bytes
Line 
1<form class="${baseClass}">
2  <div>
3    <label class="qedLabel" for="subcode">Subcode</label>
4    <input data-dojo-type="dijit/form/ValidationTextBox"
5           data-dojo-props="placeHolder:'Subcode'"
6           class="subcode"
7           name="subcode"/>
8  </div>
9  <div data-dojo-attach-point="itemsNode">
10  </div>
11  <div data-dojo-type="dijit/form/Button"
12       data-dojo-attach-event="onClick:onAddItem">Add item</div>
13  <div>
14    <label class="qedLabel" for="lastItemIsOpen">Last option is open</label>
15    <input data-dojo-type="dijit/form/CheckBox"
16           class="qedField"
17           name="lastItemIsOpen"
18           data-dojo-attach-point="openItemCheckBox"
19           data-dojo-attach-event="onChange:_handleOpenItemChange"/>
20    <input data-dojo-type="dijit/form/ValidationTextBox"
21           data-dojo-props="required:true,disabled:true,placeHolder:'Subcode'"
22           data-dojo-attach-point="openItemSubcodeTextBox"
23           class="subcode"
24           name="openItemSubcode"/>
25  </div>
26</form>
Note: See TracBrowser for help on using the repository browser.