When an XLSForm is authored and a question is created with a relevant expression that references a future question, an error should be returned when uploading the form to Ona.
Actual behavior
An XLSForm authored with a question that has a relevant expression that references a future question is uploaded successfully to Ona. The question with the relevant expression is hidden when the form is launched (as expected) and shows up when the future question's response satisfies its relevant expression.
Steps to reproduce the behavior
Author an XLSForm with the columns type, name, label and relevant.
Add two questions to the XLSForm e.g. Qn1 and Qn2
Add a relevant expression to Qn1 that references Qn2
Environment (local, stage, preview, production)
Production
Expected behavior
When an XLSForm is authored and a question is created with a relevant expression that references a future question, an error should be returned when uploading the form to Ona.
Actual behavior
An XLSForm authored with a question that has a relevant expression that references a future question is uploaded successfully to Ona. The question with the relevant expression is hidden when the form is launched (as expected) and shows up when the future question's response satisfies its relevant expression.
Steps to reproduce the behavior
type
,name
,label
andrelevant
.Find attached an XLSForm for testing
future_relevant.xlsx
Aha! Link: https://ona.aha.io/features/PROD-207