Editing CIForms examples
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
==Basic, one column== | ==Basic, one column== | ||
This is the | This is the smplest form (type "inputs" by default, one column) | ||
The square brackets represent an input, the square brackets contain the input type, the asterisk indicates a mandatory field | The square brackets represent an input, the square brackets contain the input type, the asterisk indicates a mandatory field | ||
Line 150: | Line 150: | ||
}} | }} | ||
==Nested sections== | ==Nested sections== | ||
Line 233: | Line 233: | ||
}} | }} | ||
== Steps & surveys == | == Steps & surveys == | ||
Inspired by https://demo.limesurvey.org/index.php?r=survey/index&sid=14272 | Inspired by https://demo.limesurvey.org/index.php?r=survey/index&sid=14272 | ||
<templatestyles src="CIForms_examples/styles.css" /> | <templatestyles src="CIForms_examples/styles.css" /> | ||
{{#CI form: title = Survey example | {{#CI form: title = Survey example | ||
| email-to = abc@mail.com | | email-to = abc@mail.com | ||
| paging = | | paging = 5, 3, 3 | ||
| css-class = form-limesurvey | | css-class = "form-limesurvey" | ||
{{#CI form section: type = inputs responsive | {{#CI form section: type = inputs responsive | ||
Line 252: | Line 250: | ||
}} | }} | ||
{{#CI form section: type = input | title = What is your favorite pastime? | |||
{{#CI form section: type = input | title = | |||
|[Please chose one=select=Reading,Programming,Navigating the web,All of the above,Other,No answer] * | |[Please chose one=select=Reading,Programming,Navigating the web,All of the above,Other,No answer] * | ||
| (if you selected "other") [text] | | (if you selected "other") [text] | ||
Line 270: | Line 257: | ||
{{#CI form section: type = multiple choice | list-type = none | max answers = 1 | {{#CI form section: type = multiple choice | list-type = none | max answers = 1 | ||
| title = | | title = What is your favorite color ? | ||
| Red | | Red | ||
| Orange | | Orange | ||
Line 284: | Line 271: | ||
{{#CI form section: type = multiple choice | {{#CI form section: type = multiple choice | ||
| title = | | title = Who is your favorite relative ? | ||
| Father | | Father | ||
| Mother | | Mother | ||
Line 301: | Line 288: | ||
{{#CI form section: type = inputs | {{#CI form section: type = inputs | ||
| title = | | title = How much do you like these foods ? | ||
| Broccoli [Chose one=select=Hate,Dislike,Ambivalent,Like,Love,No answer] | | Broccoli [Chose one=select=Hate,Dislike,Ambivalent,Like,Love,No answer] | ||
| Ice Cream [Chose one=select=Hate,Dislike,Ambivalent,Like,Love,No answer] | | Ice Cream [Chose one=select=Hate,Dislike,Ambivalent,Like,Love,No answer] | ||
Line 310: | Line 297: | ||
{{#CI form section: type = inputs | {{#CI form section: type = inputs | ||
| title = | | title = How much pain to you currently feel in the following locations? 1 = none, 10 = extreme | ||
| Head [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] * Torso [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] | | Head [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] * Torso [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] | ||
| Back [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] Seat [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] | | Back [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] Seat [Chose one=select=1,2,3,5,6,7,8,9,10,No answer] | ||
Line 318: | Line 305: | ||
{{#CI form section: type = inputs | {{#CI form section: type = inputs | ||
| title = | | title = How much do you like the following? (1 = not at all, 5 = extremely) | ||
| Ballet [Chose one=select=1,2,3,5,No answer] Jazz [Chose one=select=1,2,3,5,No answer] | | Ballet [Chose one=select=1,2,3,5,No answer] | ||
| Ballroom [Chose one=select=1,2,3,5,No answer] Tap [Chose one=select=1,2,3,5,No answer] | | Jazz [Chose one=select=1,2,3,5,No answer] | ||
| Contemporary [Chose one=select=1,2,3,5,No answer] Hip Hop [Chose one=select=1,2,3,5,No answer] | | Ballroom [Chose one=select=1,2,3,5,No answer] | ||
| Tap [Chose one=select=1,2,3,5,No answer] | |||
| Contemporary [Chose one=select=1,2,3,5,No answer] | |||
| Hip Hop [Chose one=select=1,2,3,5,No answer] | |||
}} | }} | ||
{{#CI form section: type = inputs | {{#CI form section: type = inputs | ||
| title = | | title = How should the following change? | ||
| Funding for education [Chose one=select=Increase, Same, Decrease,No answer] Funding for security (e.g. police, jails, military) [Chose one=select=Increase, Same, Decrease,No answer] | | Funding for education [Chose one=select=Increase, Same, Decrease,No answer] Funding for security (e.g. police, jails, military) [Chose one=select=Increase, Same, Decrease,No answer] | ||
| Availability of high quality health care [Chose one=select=Increase, Same, Decrease,No answer] | | Availability of high quality health care [Chose one=select=Increase, Same, Decrease,No answer] | ||
Line 333: | Line 323: | ||
{{#CI form section: type = inputs responsive | {{#CI form section: type = inputs responsive | ||
| title = | | title = How long should it take to fix the following? | ||
| All bugs in LimeSurvey 1.91+ [Chose one=select=1,2,3,4,5,6,7,8,9,10] [Chose one=select=days,weeks,years] | | All bugs in LimeSurvey 1.91+ [Chose one=select=1,2,3,4,5,6,7,8,9,10] [Chose one=select=days,weeks,years] | ||
| All items on your To Do list [Chose one=select=1,2,3,4,5,6,7,8,9,10] [Chose one=select=days,weeks,years] | | All items on your To Do list [Chose one=select=1,2,3,4,5,6,7,8,9,10] [Chose one=select=days,weeks,years] | ||
Line 341: | Line 331: | ||
{{#CI form section: type = cloze test | list-type = none | title = | {{#CI form section: type = cloze test | list-type = none | title = Who are your favorite characters in the following? | | ||
<html><table id="table_test"> | <html><table id="table_test"> | ||
<tr><th></th><th>Favorite</th><th>Second most</th><th>Third most</th></tr> | <tr><th></th><th>Favorite</th><th>Second most</th><th>Third most</th></tr> | ||
Line 348: | Line 338: | ||
<tr><td>Star Wars</td><td>[]</td><td>[]</td><td>[]</td></tr> | <tr><td>Star Wars</td><td>[]</td><td>[]</td><td>[]</td></tr> | ||
</table></html> | </table></html> | ||
}} | }} | ||
}} | }} |