Difference between revisions of "ICMS:Laboratory/InstaGov/question"

From ICMS
Jump to navigation Jump to search
m (Protected "ICMS:Forms/question": to enable raw html ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(about right; to be tested, when code is written)
Line 2: Line 2:
 
<echo raw now><form action="/Special:InstaGov/page:qu/do:add" target=newpage method=POST></echo>
 
<echo raw now><form action="/Special:InstaGov/page:qu/do:add" target=newpage method=POST></echo>
 
|-
 
|-
| align=right | Title:      || <echo raw now><input name=title></echo> &lArr; name of wiki page to create
+
| align=right | Title:      || <echo raw now><input name=title size=40></echo> &lArr; name of wiki page to create
 
|-
 
|-
 
| colspan=2  | Text of question: <echo raw now><textarea name=text rows=8></textarea></echo>
 
| colspan=2  | Text of question: <echo raw now><textarea name=text rows=8></textarea></echo>
 
|-
 
|-
| align=right | Positive Text: || <echo raw now><input name=text_pos size=20></echo>
+
| align=right | Text for '''positive''' end of rating scale: || <echo raw now><input name=text_pos size=20></echo> (optional)
 
|-
 
|-
| align=right | Negative Text: || <echo raw now><input name=text_pos size=20></echo>
+
| align=right | Text for '''negative''' end of rating scale: || <echo raw now><input name=text_pos size=20></echo> (optional)
 
|}
 
|}
 
<echo raw now><input type=hidden name=title_prefix value="Question:"></echo>
 
<echo raw now><input type=hidden name=title_prefix value="Question:"></echo>
 
<echo raw now><input type=submit value=Preview> <input type=reset value="-clear-"></echo>
 
<echo raw now><input type=submit value=Preview> <input type=reset value="-clear-"></echo>
 
<echo raw now></form></echo>
 
<echo raw now></form></echo>

Revision as of 01:30, 21 July 2010

<echo raw now><form action="/Special:InstaGov/page:qu/do:add" target=newpage method=POST></echo>
Title: <echo raw now><input name=title size=40></echo> ⇐ name of wiki page to create
Text of question: <echo raw now><textarea name=text rows=8></textarea></echo>
Text for positive end of rating scale: <echo raw now><input name=text_pos size=20></echo> (optional)
Text for negative end of rating scale: <echo raw now><input name=text_pos size=20></echo> (optional)

<echo raw now><input type=hidden name=title_prefix value="Question:"></echo> <echo raw now><input type=submit value=Preview> <input type=reset value="-clear-"></echo> <echo raw now></form></echo>