1,844
การแก้ไข
(→Define) |
|||
| บรรทัดที่ 93: | บรรทัดที่ 93: | ||
** A ''dict'' of format {{code|lang=python|{'route': str route_name, **kwargs} }}, where {{code|kwargs}} represents arguments to be fed to the instacalc route. | ** A ''dict'' of format {{code|lang=python|{'route': str route_name, **kwargs} }}, where {{code|kwargs}} represents arguments to be fed to the instacalc route. | ||
* '''collect_fldXY''' are the fields whose values are collected and used in calculation routine. | * '''collect_fldXY''' are the fields whose values are collected and used in calculation routine. | ||
* '''result_fldXY''' are the fields to be updated with the calculation result. | |||
Developers also have the option to modify the form object's {{code|instacalc}} attribute after initiation. However, at this stage, the {{code|routeX}} part must be a Flask's {{code|url_for}} result instead. | |||
=== Auto-numbering Function === | === Auto-numbering Function === | ||