Prefill Date

From SMTX Wiki
Revision as of 21:44, 25 May 2020 by Smtxwiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is actually quite simple.
in the datastore, set your field as : - date field - text field
When using a text field, fill it following this syntax: yyyyMMdd
You can use this value as a default value in a date field in the form, no changes are needed.
We advise to use a datafield in the datastore, it looks nicer when doing an export.