_template

Do you want a coffee? YesNo.


Putting it in a sentence…

The customer wants the following with their coffee: Milk, Sugar, Biscuit.

Now in a table…

Milk Yes No
Sugar Yes No
Biscuit Yes No

And finally a random fact (using includes)…

[[include inc:milk%%form_data{Milk}%%]]


Template Source

If you want to see the source code of the live template used to create this data form, you can head over to this demos page.

[[form]]
fields:
  Coffee:
    type: checkbox
    label: Would you like a coffee?
  Milk:
    type: checkbox
    label: Do you have milk with your coffee?
  Sugar:
    type: checkbox
    label: Do you have sugar?
  Biscuit:
    type: checkbox
    label: Would you like a biscuit as well (it's chocolate!)?
[[/form]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License