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, 9 | ||
| css-class = form-limesurvey | | css-class = form-limesurvey | ||
| | | | ||
{{#CI form section: type = inputs responsive | {{#CI form section: type = inputs responsive | ||
| first and last name [] * | | first and last name [] * | ||
Line 252: | Line 250: | ||
}} | }} | ||
{{#CI form section: type = multiple choice | {{#CI form section: type = multiple choice | ||
| title = | | title = 17. What gender are you? | ||
| | | female {{#fab:venus}} | ||
| male {{#fab:mars}} | |||
| no answer <span class="fa fa-genderless ls-icon" aria-hidden="true"></span> | |||
| | |||
| | |||
}} | }} | ||
{{#CI form section: type = input | title = | {{#CI form section: type = input | title = What is your favorite pastime? | ||
|[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 265: | ||
{{#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 279: | ||
{{#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 296: | ||
{{#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 305: | ||
{{#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 313: | ||
{{#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 331: | ||
{{#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 339: | ||
{{#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 369: | Line 367: | ||
{{#CI form section: type = inputs responsive | {{#CI form section: type = inputs responsive | ||
| title = 14. For each of these issues, how severe and bothersome are they? | | title = 14. For each of these issues, how severe and bothersome are they? | ||
| Financial woes [Chose one=select=Mild Severity,Moderate Severity,Extreme Severity,Mild Bothersomeness,Moderate Bothersomeness,Extreme Bothersomeness,No answer] | | Financial woes [Chose one=select=Mild Severity,Moderate Severity,Extreme Severity,Mild Bothersomeness,Moderate Bothersomeness,Extreme Bothersomeness,,No answer] | ||
| Health concerns [Chose one=select=Mild Severity,Moderate Severity,Extreme Severity,Mild Bothersomeness,Moderate Bothersomeness,Extreme Bothersomeness,No answer] | | Health concerns [Chose one=select=Mild Severity,Moderate Severity,Extreme Severity,Mild Bothersomeness,Moderate Bothersomeness,Extreme Bothersomeness,,No answer] | ||
| Ability to get your doctors to listen [Chose one=select=Mild Severity,Moderate Severity,Extreme Severity,Mild Bothersomeness,Moderate Bothersomeness,Extreme Bothersomeness,No answer] | | Ability to get your doctors to listen [Chose one=select=Mild Severity,Moderate Severity,Extreme Severity,Mild Bothersomeness,Moderate Bothersomeness,Extreme Bothersomeness,,No answer] | ||
}} | }} | ||
Line 377: | Line 375: | ||
| title = 15. When was your most recent birthday? | | title = 15. When was your most recent birthday? | ||
| [date] | | [date] | ||
}} | }} | ||
{{#CI form section: type = multiple choice | {{#CI form section: type = multiple choice | ||
| title = 17. What gender are you? | | title = 17. What gender are you? | ||
| female | | female <span class="fa fa-venus ls-icon" aria-hidden="true"></span> | ||
| male | | male <span class="fa fa-mars ls-icon" aria-hidden="true"></span> | ||
| no answer | | no answer <span class="fa fa-genderless ls-icon" aria-hidden="true"></span> | ||
}} | }} | ||
}} | }} |