Forms & quizzes

From Redazione
< How it works
Revision as of 19:31, 1 February 2021 by Admin (talk | contribs)
Jump to navigation Jump to search

Cultura italiana offers effective tools for rapid creation of forms, fitted to various purposes, and quizzes, which have been inspired by this Wikiversity's extension and have further developed for an optimal user experience, and diverge mainly because the submitted data are sent to the provided email address, rather than used to compute a score.

A form can be created through a template like the following:

{{#CI form: 
title = Contact form
| submit = support@culturaitaliana.org
| first and last name [] *
| email [email] *
| your message [textarea] *
}}

which produces the following result


Contact form
form protected using Google recaptcha

where the double square brackets represent an input (if empty the input type is assumed to be 'text' otherwise it can be any of 'password', 'textarea', 'email', 'search', 'tel', 'file', 'number', 'url', 'time', 'date') the asterisk a mandatory field, and a pipe is of course used to separate the rows.

But a CI form template (precisely a 'parser function') can be also used to display inputs with placeholders, like the following:

Contact form
form protected using Google recaptcha



Currently the parser function CI form can display the following type of forms:

  • inputs (as in the example above)
  • multiple choice questions
  • Cloze tests (completion tests)

The