Commit 04686840 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Index.rst: added best practice 'Central configure values'

parent b32ef77f
......@@ -2868,8 +2868,23 @@ Relation: `Person.id = Address.personId`
Best Practise: Chart
====================
Best Practise
=============
Central configured values
-------------------------
Any variable in *config.qfq.ini* can be used by *{{<varname>:Y}}* in form or report statements.
E.g.
TECHNICAL_CONTACT = jane.doe@example.net
Could be used in an *FormElement*.type = sendmail with *parameter* setting *sendMailFrom={{TECHNICAL_CONTACT:Y}}*.
Chart
-----
* QFQ delivers a chart JavaScript lib: https://github.com/nnnick/Chart.js.git. Docs: http://www.chartjs.org/docs/
* The library is not sourced in the HTML page automatically. To do it, either include the lib
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment