Can one create Forms survey questions dynamically?

%3CLINGO-SUB%20id%3D%22lingo-sub-2148475%22%20slang%3D%22en-US%22%3ECan%20one%20create%20Forms%20survey%20questions%20dynamically%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148475%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%20work%20in%20a%20school%20and%20I%20would%20like%20to%20create%20a%20survey%20that%20links%20to%20a%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Esome%20form%20of%20database%20(mysql%2C%20access%2C%20even%20Excel%20would%20probably%20do)%20in%20the%20following%20way%3A%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E1%3A%20Survey%20Question%3A%20What%20class%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eare%20you%20in%3F%20Select%20from%3A%20A%2C%20B%2C%20C.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E2%3A%20Pupil%20chooses%20B%2C%20say.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E3%3A%20The%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eresult%20B%20is%20used%20as%20query%2C%20something%20like%20(Select%20teacher%20from%20db%20where%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Eclass%3D'B')%20and%20returns%20a%20list%20of%20teachers.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E4%3A%20Survey%20Question%3A%20Select%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eone%20of%20you%20teachers%20from%20the%20given%20list%20(which%20is%20of%20course%20the%20list%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Egenerated%20above).%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20hope%20that%20this%20makes%20sense.%20I'll%20attach%20a%20graphic%20I%20drew%20to%20visualise%20better%20what%20I%20am%20trying%20to%20achieve.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221GIkc.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F255983i1AB57DEFB504D632%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%221GIkc.png%22%20alt%3D%221GIkc.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIs%20this%20possible%20in%20Forms%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2148475%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Forms%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148542%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20one%20create%20Forms%20survey%20questions%20dynamically%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148542%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F971881%22%20target%3D%22_blank%22%3E%40geoffthun%3C%2FA%3E%26nbsp%3Bunfortunately%20it's%20not%20possible%20for%20Forms%20to%20link%20to%20any%20external%20data%20source%20or%20create%20questions%20dynamically.%20One%20of%20the%20uservoice%20requests%20for%20this%20which%20you%20can%20vote%20for%20is%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoftforms.uservoice.com%2Fforums%2F386451-welcome-to-microsoft-forms-suggestion-box%2Fsuggestions%2F35776234-dynamic-content-for-forms-questions-responses%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23006400%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I work in a school and I would like to create a survey that links to a some form of database (mysql, access, even Excel would probably do) in the following way:

 

1: Survey Question: What class are you in? Select from: A, B, C.

 

2: Pupil chooses B, say.

 

3: The result B is used as query, something like (Select teacher from db where
class='B') and returns a list of teachers.

 

4: Survey Question: Select one of you teachers from the given list (which is of course the list
generated above).

 

I hope that this makes sense. I'll attach a graphic I drew to visualise better what I am trying to achieve.

1GIkc.png

Is this possible in Forms?

3 Replies

@geoffthun unfortunately it's not possible for Forms to link to any external data source or create questions dynamically. One of the uservoice requests for this which you can vote for is here.

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

@RobElliott 

 

I followed your link and voted, being the 24th person for a request open since  2018! I suppose one can assume this is not going to happen. It's strange that Microsoft have all these apps but no interconnectivity. All the same, many thanks for the response.

@geoffthun there's a vast amount of connectivity between apps if you make use of Power Automate, another of the Office 365 apps, which has connectors for about 300 different apps. But unfortunately the only trigger related to Forms is "When a new response is submitted" so it's only from Forms. It gets each response and then takes actions. There's no trigger or action to inject something into a form.

 

One example of how we connect up apps at my company is with an IT ticketing system I built which starts with a user submitting their problem or request via a Forms form embedded in a a page on our SharePoint intranet. A flow in Power Automate gets that response, saves it to a Triage list on a different SharePoint site, sends the user a nicely-formatted confirmation email with company logo with the Tracker ID from that Triage list and the details of what they submitted on the form and where they can view progress. Our IT Team assign that ticket to one of 3 support engineering teams by making use of a customised Power Apps form using buttons to trigger another flow to alert the engineer. When the status of the ticket is changed to Closed that also triggers another flow in Power Automate that automatically emails the user that their problem or request has been dealt with. So that's connectivity between Forms, SharePoint, Outlook with a bit of Power Apps thrown in, all done via flows in Power Automate.

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User