You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this checks the 'visibleExpression' and if this is false, sets the value to null ( this causes the backend error). The visible expression uses the 'age' function. this 'age' function use a form value to calculate the dateOfBirth however the input for this age function is a string "1982-05-05". The age function can not handle a string ( is expects a date) and returns 'NaN'. As 'NaN' is falsy the Questionare.js.beforeSubmit function sets the value to null.
To fix this we need to figure out why the date of birth is given as string instead of the expected date.
How to Reproduce
Import:
chr6 metadata
and:
chr6 data
Go to the questionnaire plugin, submit
Expected behavior
Item gets submit (as it does when switching status to submitted in dataexplorer and saving)
Observed behavior
The text was updated successfully, but these errors were encountered: