CIForms examples update: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
(Created page with "==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 aster...")
Tag: 2017 source edit
 
Tag: 2017 source edit
Line 1: Line 1:
==One column==
==One column (multiple inputs per line) ==


This is the simplest form (type "inputs" by default, one column)
The square brackets represent an input, the square brackets optionally 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


<pre>
<pre>

Revision as of 06:24, 20 February 2022

One column (multiple inputs per line)

The square brackets represent an input, the square brackets optionally contain the input type, the asterisk indicates a mandatory field

{{#CI form: title = Contact form
| type = inputs
| first name [] * last name [] *
| email [email] *
| your message [textarea]  *
}}

which produces the following


{{#CI form: title = Contact form | type = inputs | submission groups = sysop | first name [] * last name [] * | email [email] * | your message [textarea] * }}