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 = 4 | | paging = 4, 4, 4, 4, 4 | ||
| css-class = form-limesurvey | | css-class = form-limesurvey | ||
| | | | ||
{{#CI form section: type = multiple choice | |||
| title = 23. Do you love CIForms ? | |||
| yes {{#far:check}} | |||
| no {{#far:ban}} | |||
| no answer {{#far:cirle-thin}} | |||
}} | |||
{{#CI form section: type = inputs responsive | {{#CI form section: type = inputs responsive | ||
Line 391: | Line 396: | ||
{{#CI form section: type = inputs | {{#CI form section: type = inputs responsive | ||
| title = 18. Pick a new language | | title = 18. Pick a new language | ||
| [Choose your language=select={{#replace:{{Template:Languages}}|*|,}}] | | [Choose your language=select={{#replace:{{Template:Languages}}|*|,}}] | ||
Line 408: | Line 413: | ||
}} | }} | ||
{{#CI form section: type = cloze test | {{#CI form section: type = cloze test | ||
| title = 21. Please rate your favorite activities: | | title = 21. Please rate your favorite activities: | ||
| [] Sleeping | | [] Sleeping | ||
Line 416: | Line 421: | ||
}} | }} | ||
{{#CI form section: type = | {{#CI form section: type = cloze test | ||
| title = 22. This is just a text display. Is the rendered value saved anywhere? Is there a database field for it (e.g. to emulate the Equation question type)? | | title = 22. This is just a text display. Is the rendered value saved anywhere? Is there a database field for it (e.g. to emulate the Equation question type)? | ||
}} | }} | ||
Line 422: | Line 427: | ||
{{#CI form section: type = multiple choice | {{#CI form section: type = multiple choice | ||
| title = 23. Do you love CIForms ? | | title = 23. Do you love CIForms ? | ||
| yes {{# | | yes {{#far:check}} | ||
| no {{# | | no {{#far:ban}} | ||
| no answer {{#far: | | no answer {{#far:cirle-thin}} | ||
}} | |||
}} | }} | ||
}} | }} |