Hi there.
My form has two questions that ask for a date. Users will only ever answer one of the two questions. I want an expression that fetches the date entered on whichever question they answered. I have written some expressions, but I continue to get the same error:
Error details: Input parameter 'item/example question' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.
Here are two expressions that I've tried:
if(empty([dynamic content for question 1]), [dynamic content for question 2], [dynamic content for question 1])
if(contains([dynamic content for question 1], '2'), [dynamic content for question 1], [dynamic content for question 2])
I understand that the second expression is messy, but I was just seeing if I could find a workaround since the first expression didn't work.