I'm just curious as to if/when the prepopulation of a survey123 form field with data from a custom API endpoint is going to be a reality in Survey123. Some of our business workflows may depend on this.
Let me give you one example scenario. You want to pre-populate weather information in a survey123 form field from a weather API. So when the form loads it would use a x,y location and send that to the weather API, then the weather API would return the current temperature for that location and the survey form would pre-populate a text box with that. This is actually a scenario that one of our current custom mobile apps use but we are trying to migrate away from it and use Survey123 instead.
Obviously this would only work when the form is online and would not work in offline mode and we are fine with that.
Any feedback on the latest info associated with this is much appreciated.
Thanks,
Chad
Hi Chad,
This is already available in beta for the Survey123 field application. Please refer to the Survey123 Early Adopter Community documentation on 'Custom JavaScript functions'.
I see....Awesome!...Thanks.