Select to view content in your preferred language

JavaScript in Survey123 without Survey123 Connect?

1375
10
Jump to solution
10-12-2022 12:03 PM
RogerAsbury
Occasional Contributor

The Situation: I want to make two fields in a survey required, but only if the value in a dropdown menu equals one particular item from that menu.

It seems like adding javascript via Survey123 Connect comes with a lot of caveats, such as no access to the DOM and not being accessible in publicly viewable surveys. If I'm wrong on that I'd love to be educated. 🙂 

Is there a non-Survey123 Connect way to add javascript to a Survey123 survey? Or a way to do what I want without adding custom javascript? 

--
Roger Asbury
Analyst/Programmer - Fairbanks North Star Borough
0 Kudos
10 Replies
RogerAsbury
Occasional Contributor

Lol. Guess I'm just becoming an old grump. 🙂 Using a spreadsheet to create a survey seems like using Visual Studio to write a novel. Yeah, it can be done, but there are better, more specialized tools available. 

Anyway, ignore my grumpiness. You got me the answer I was looking for so now I know it can be done! Thanks much!

--
Roger Asbury
Analyst/Programmer - Fairbanks North Star Borough