I am using Survey123 Connect Version 3.13.249.
I am trying to put an expression in the xlsform readonly field, so the fields are only editable when certain expression is met (image 1). The expression should apply to records already collected in Survey 123 not to the new entries. In general, when the polygon is selected in the dashboard some fields should not be editable when the record has specific request status.
Although, I can publish the survey without an error, once it's opened in the dashboard as embedded content the field is still editable (image 2).
You could hard-code the expression into your URL, perhaps. If you have a hidden null field in your XLS form, say, readonly_bool, you can have your URL go to:
Unfortunately, it does not work. I want the model name to be readonly if the the status is 'ekfb_rejected'.
This is my xls
After publishing the form I can still edit the model field in the embedded xls form in the dashboard
The xlsform is embedded in the dashboard with the url ending with
The xlsfrom reads only the entries that have been already collected. It is not designed to submit new records.