Jun 15 2020
04:14 AM
- last edited on
Aug 03 2023
10:38 PM
by
TechCommunityAP
Jun 15 2020
04:14 AM
- last edited on
Aug 03 2023
10:38 PM
by
TechCommunityAP
Hello, I was wondering if it is possible to create form that displays dynamic number of controls based on user answer. Maybe example of what I'm trying to achieve will make things more clear.
Lets assume that I want to create form that allows user to provide some "ideas". The single "idea" consists of 2 properties: name and description. Upon entering the form user is asked, "how many ideas would you like to submit" and he can answer that question with a number between 1 - 10. Based on number provided by the user I would like to display dynamic number of fields where user can provide his answers. For example user enters 3 in number of ideas field, and form looks like this:
Number of ideas: 3
Idea 1
Name: .........
Description: .........
Idea 2
Name: .........
Description: .........
Idea 3
Name: .........
Description: .........
If user changes the values of number of ideas field, the form updates automatically to display provided number of fields.
Thanks in advance for any help :)
Jun 15 2020 05:32 AM
Solution@dex2l there is nothing in Forms that enables you to do that.
Rob
Los Gallardos
Microsoft Power Automate Community Super Use
Jun 15 2020 09:29 AM
@RobElliottThank you for your answer, unfortunately I expected that. One last thing. Please confirm if I understand this correctly. The number of fields/inputs on form is fixed and there is no way to dynamically add/remove anything to the form based on user input? I know about branching feature but doesn't fit my needs.
Jun 15 2020 09:32 AM - edited Jun 15 2020 09:33 AM
@dex2l you are correct, the number of questions is fixed and there is no way to dynamically add or remove anything based on a user's answer. You'd have to create an app in Power Apps to achieve this.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
Mar 23 2021 01:10 AM
Yes you can.
You may use Branching and achieve the requirement.
The only hiccup in this way is that you need to create 10 Sections with respective number of Fields
Eg: Section 5 will be having Forms elements to enter 5 Ideas, Section 6 will be having Forms elements to enter 6 Ideas, Etc.
Once you done this, Just enable branching and then select appropriate flow of sections to achieve the result
Apr 18 2021 03:52 AM
Apr 18 2021 07:35 AM
Jun 15 2020 05:32 AM
Solution@dex2l there is nothing in Forms that enables you to do that.
Rob
Los Gallardos
Microsoft Power Automate Community Super Use