Select to view content in your preferred language

3rd Party Form => Survey123

497
6
01-05-2026 03:16 PM
DonaldDeLeeuw
Emerging Contributor

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.

0 Kudos
6 Replies
DavidSolari
MVP Regular Contributor

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.

abureaux
MVP Frequent Contributor

Seconding this approach. Just wanted to link this Blog as a supplement: Survey123 Tricks of the Trade: Web form URL parameters

DonaldDeLeeuw
Emerging Contributor

That was a good read - thank you 🙂 

0 Kudos
DonaldDeLeeuw
Emerging Contributor

We'll need to skip the Survey123 interface altogether. I'm looking into the REST API further - thank you for your time.

0 Kudos
Neal_t_k
MVP Regular Contributor

Conversely does it meet your requirements to just open the Survey123 form in its own window instead of embedding it?

DonaldDeLeeuw
Emerging Contributor

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.

0 Kudos