Commit 27ee7e3b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Best Practice to set custom default values in Forms.

parent cea433d0
......@@ -3533,6 +3533,13 @@ already a lock for a `tablename` / `record id` pair, the most restrictive will b
Best practice
-------------
Custom default value only for 'new records'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In the specific `FormElement` set `value={{columnName:RSE}}`. The link to the form should be rendered with
'"...&columnName=<data>&..." AS _page'. The trick is that the STORE_RECORD is empty for new records, and therefore the
corresponding value from STORE_SIP will be returned. Existing records will use the already saved value.
Central configured values
^^^^^^^^^^^^^^^^^^^^^^^^^
......
Markdown is supported
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