The documentation seems extensive but also a little overwhelming trying to get the answer I'm looking for. Currently we are using an embedded (iframe) form but, understandably, the ADA software being used can not read the fields within the iframe. What I'd like to do is build a php/html form and feed entries into Survey123. Is there a document or better yet, PHP/JS code examples, that can walk me through this process. TIA.
If I'm reading your question right, you want to capture the data from an HTML form and feed that into Survey123, correct? To get the form data and prevent the usual submit action, you'll need some JavaScript, this StackOverflow question is a great jumping off point. Once you have the data, you can turn that into a URL which opens the web app with values filled by default. The user can then finish any remaining questions and submit the final form. If you want to skip the Survey123 interface altogether you can look into the JavaScript SDK to connect to the hosted feature service that stores the Survey data and insert a new record. Or use the REST API without the SDK if you need to minimize dependencies.
Seconding this approach. Just wanted to link this Blog as a supplement: Survey123 Tricks of the Trade: Web form URL parameters
That was a good read - thank you 🙂
We'll need to skip the Survey123 interface altogether. I'm looking into the REST API further - thank you for your time.
That's what we are doing now as a Plan B. The software being used is installed on the website domain so it doesn't carry over and doesn't meet the requirements.