I am developing a Custom JS web app for users to QA/QC data collected in a Survey123 form. In this web app I'd like to replicate the form logic that exists in the Survey123 form. Can this be done? Is it possible to query for that logic through an API?
It is possible but a bit technically difficult to access the form logic. Survey123 uses the XLSForm specification, which is a subset of XForms; either file (the xlsx or xml) can be retrieved from a form item and then processed.
We have many projects that consist of 2 parts:
Creating forms in the custom JS app that mimic Collector forms is straightforward because the Service rest endpoints give us all the information necessary regarding field types, relationship classes, attachments, etc.
Survey 123 form functionality can be much more complicated so we need the ability to harness that to work in our JS apps. Have others had this request?