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
 
No edit summary
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 07:31, 24 July 2022

One column (multiple inputs per line)[edit | edit source]

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] * }}