Creating a single survey that posts data to multiple lists

LabKey Support Forum
Creating a single survey that posts data to multiple lists caroline norris  2021-05-20 04:03
Status: Closed
 

Is is possible to use the Survey feature to create a single survey that posts data to more than one list on submission?

There is no information on how to do this in the Survey documentation, so just wondering if it's possible to do so without any custom development on our part?

 
 
Jon (LabKey DevOps) responded:  2021-06-03 16:41
Hi Caroline,

Unfortunately, the survey module is a one-to-one setup to where one survey is tied to one table (list, dataset, etc), so you would need to do some custom development outside of the survey module to be able to have a form a user could fill out that is similar to a survey and have that form post to multiple tables.

We have a basic Javascript API tutorial that you can use to get a general idea on making a custom form/survey within LabKey's architecture, but you'll have to look for resource documentation outside of LabKey to come up with a way to do multiple form posts within a single page.

https://www.labkey.org/Documentation/wiki-page.view?name=javascriptTutorial

Regards,

Jon