Prefill Date

From SMTX Wiki
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.