Stream: questionnaire
Topic: How to define extra attribute for a date picker in Assessmen
SAM TSAI (Jan 07 2022 at 02:14):
How to define extra attribute for a date picker in Assessment JSON, like render the date picker in format of YYYY/MM or YYYY/MM/DD ?
Or something like:
Set the condition for the acceptance of the inputted date: only allow the past inputted date, or only allow future inputted date.
Brian Postlethwaite (Jan 07 2022 at 07:18):
I do those conditions using an invariant constraint.
Lloyd McKenzie (Jan 07 2022 at 17:59):
You can specify length limits in terms of the date with a constraint. There's no standard extension to control the format the date is displayed/captured in though. (The format for exchange is fixed and can't be changed.)
Brian Postlethwaite (Jan 07 2022 at 19:39):
We do hand the ghost/place holder extension (entry format if I remember rightly)
Last updated: Apr 12 2022 at 19:14 UTC