Choice component values from User input

Hi, I am trying to creating choice component values from user input. The video explains exactly what I wanted to do.

Suggestions please.

The first thing to understand is that a choice component can only be populated from a column - not from a row. What you are trying to do won’t work. You need a single column with a choice in each row.

With that said, it is possible to build a dynamic choice list. Here is how I have done it:

  • Start off with a single choice, call it ‘Other’
  • Add two input components:
    • A choice component, which uses your choice list as a source
    • A text entry component
  • The text entry component should only be shown when the user selects ‘Other’ from the choice component
  • Whatever the user enters into the text entry component is added to the list of choices using an Add Row action
2 Likes

@Darren_Murphy thanks for taking time to reply.
The dynamic list suggestion is good for one part of my app.

Regarding my question, I needed to make it easer to create the quiz so it can be done by Users instead of Developer (me in this case).
I think I have a solution by

  1. creating another sheet to allow “Quiz maker” to add their questions, answers and choices
  2. So every row is added for new choices together with quiz title and question & question number
  3. Choice component is added using the quiz title and question number as filter

Preliminary testing indicates that this works…now continuing to build the full APP

1 Like

Hi @Darren_Murphy
Looking at your suggestion below:

  • The text entry component should only be shown when the user selects ‘Other’ from the choice component
  • Whatever the user enters into the text entry component is added to the list of choices using an Add Row action

When I add a text component, there is no way to have an add row action. This text component only have layout and features which does not allow any actions.
Please elaborate more.

Do it using a custom action when the user Submits the form.

understand. thanks

1 Like