Extension:CIForms/ja

CIForms is a complete solution to quickly create input forms to immediately retrieve data from visitors, and they include a wide range of features, like native validation, nested sections, multiple choice questions with arbitrary inputs within lines and supporting all standard list style types, cloze tests, Google recaptcha, select & combobox, textarea with maxlength, submission groups (used to restrict the access to forms' submissions), and much more!

Forms submissions are both stored in a dedicated table and accessed through a Special Page, and optionally sent as a pdf document to the provided email address(es). The same pdf document can be downloaded from the spreadsheet with all form submissions from the Special Page CIForms Submissions!

インストール

 * Download the ZIP from Github, move inside the folder  and rename to.
 * Run  inside the folder   (this will install the dependencies phpmailer and dompdf required to send the pdf with form results to a given email address, or to download the form results as pdf
 * Run  (this will install the required tables)

Basic, one column
This is the simplest 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

which produces the following



(working example)

--

プレースホルダー
Form with placeholders. The square brackets contain the placeholder and optionally the input type after the equal symbol:

which produces the following:



(working example)

--

Two columns
Inputs responsive (two columns), the square brackets contain the input type, the form rows can contain html (the label of the email input is bold)



(working example)

--

Multiple choice
Multiple choice with arbitrary text inputs between answers (on the last line in the example). Note that the input will be rendered as radio buttons (only one answer allowed). In order to display checkboxes allowing multiple answers just set the parameter  to a value greater than 1.



(working example)

--

Select
Select with placeholder and hardcoded options. Options contain commas ? Just escape them!



(working example)

--

Select with combobox
Select populated by wikitext (if the select contains more than 20 options CIForms will automatically display it as a select2 combobox)



(working example)

--

Nested sections
Form with nested sections. The multiple choice accepts up to 3 answers ("max answers=3") The textarea has a maxlength attribute ("[textarea=1000]")



(working example)

---

Cloze test
Cloze tests are mainly used to administer quizzes and tests.

Square brackets represent an input, a square bracket with text inside represents a suggestion. The asterisk represents an example sentence. Each row can contain an arbitrary number of inputs.



(working example)

Cloze test with suggestions
The list of suggestions is automatically shuffled and the suggestion is automatically canceled from the list. (line-through)



(working example)

... and more! check here for more examples!!

Special Page/Output
CIForms stores all the submissions in a table and all the available forms can be viewed and navigated through a special page, and even downloaded as pdf. Additionally, form results can be sent to a provided email address, as explained below.

This is a screenshot of the special page Submissions, with the list of form's submissions throughout the Wiki:



This is the list of submissions to a given form. The list can be navigated, and if the relevant dependencies are installed (see above, ), the form data can be immediately downloaded as pdf.



Configuration
Note that in order to be able to send email to the provided email address (usually the system administrator) with form submissions,  must be enabled, and PHPMailer must be installed as per  istructions.

Parameters
The following parameters can be used in the parser function  or