Skip to main content
Answered

Remove options based on all responses

  • Feb 12, 2021 8:02 AM UTC
  • 35 replies
  • 4687 views

Is it possible to limit the number of responses per answer ? This is for appointment booking, so I would want the option to be removed if a preview respondent selected that choice. 

Best answer by picsoung

Hey @choij 👋

Do you feel adventurous?

because there might be a solution using a combination of webhooks and APIs.

You can use webhooks to be notified of a new submission.
The webhook handler extract the data to find which option has been sent, and then update the form definition using our API.

This should work fine unless you have a lot of traffic and there is a chance that someone submits a response while it’s being updated.

View original

35 replies

Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Feb 12, 2021 10:31 AM UTC

Hi @choij. Welcome to our Community. 😊 Happy to have you here! 

 

I am afraid at the moment we don't have a feature that would check against already submitted responses, and it's also not possible to automatically remove an option based on a set condition. 

 

To do this manually, you could set up a Google sheet integration and track the results on a regular basis. Then you'd update your form based on the submitted responses. 

 

P.S.: I'd also recommend that you check this article explaining how to edit a typeform that’s already live and collecting responses as your edits might affect the results you've already collected. 

 

Hope this helps! =)


  • Navigating the Land
  • Feb 12, 2021 6:39 PM UTC

Hi @Mariana,

Are there any plans in making this an option? It would be extremely helpful.

Thanks!


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Feb 12, 2021 9:10 PM UTC

Hi @crgutierrez ! At the moment, it’s not currently in our product roadmap, but we’ll note the suggestion for future roadmaps. :) If you have any use-cases with this feature you’d like to share, please do!


picsoung
Typeform
Forum|alt.badge.img+5
  • Developer Advocate @ Typeform
  • Answer
  • Feb 12, 2021 11:41 PM UTC

Hey @choij 👋

Do you feel adventurous?

because there might be a solution using a combination of webhooks and APIs.

You can use webhooks to be notified of a new submission.
The webhook handler extract the data to find which option has been sent, and then update the form definition using our API.

This should work fine unless you have a lot of traffic and there is a chance that someone submits a response while it’s being updated.


  • Navigating the Land
  • Mar 2, 2021 1:56 PM UTC

Hi everyone!

I’m using typeform for reservations at my restaurant and I’m looking for a way to prevent double booking of slots. 

I mean when someone books a 4 pm slot, and someone else picks the same slot, I want to be able to flag it and notify the user that slot is taken/unavailable.

Does anyone have any pointers? I’d be very grateful thanks.


Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Mar 3, 2021 9:32 AM UTC

Hello @lams. Welcome to the Typeform Community! :hugging:

 

I moved your question to this thread as I believe the workaround above could work for you. Let us know if you have further questions :) 


  • Explorer
  • Mar 16, 2021 5:05 PM UTC

I am selling some food and I want to put up a typeform and send it to my clients. The thing is that I want to make a multiple choice or a dropdown but there are like only 5 lasagne’s, 3 spaghetti carbonara, … 

So the amounts are limited, when there are 3 people that clicked on the carbonara, it need to show that it’s out of stock and not possible to click any longer. 

Is this possible?


Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Mar 17, 2021 8:31 AM UTC

Hello @Julie Baeck. Welcome to our Community! :hugging:

 

I moved your question here for more context. Hopefully, the workaround above will work for you. 🙂 Let us know if you have further questions!


  • Mar 18, 2021 10:52 AM UTC

Hello

We have a series of upcoming Events and we need to book in a host for one of 15 options. 

What I would like to achieve is that once a date is selected by a user, it is not available in the list for the nest user. 

For example if the question was 

“What date would you like to host?” and the options are:

Jan 5

Mar 10

Apr 8

 

Lets say User A chooses Apr 8th.  I’d like that to either disappear or be blocked out for all other users. 

If that makes sense, please help?! Thanks in advance 

 

 


Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Mar 18, 2021 2:13 PM UTC

Hey @nverto. Welcome to our Community! :hugging:

 

I moved your question here so you can check the workaround from @picsoung for the same use case. Hopefully, this will work for you. 🙂 Let us know if you have further questions!


  • Navigating the Land
  • Mar 25, 2021 12:49 AM UTC

Hi,

I’d really appreciate if anyone knows the answer to this situation.

I have a multiple choice question, each possible answer is a virtual meeting that I want to assign a limit of participants, so, i want to know if it is possible to assign a limit of selections to the answers of a multiple choice questions.


Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Mar 25, 2021 9:38 AM UTC

Hello @Irving Castro. Welcome to our Community! :hugging:

 

I moved your question here for more context. Hopefully, the workaround above will work for you. :) Let us know if you have further questions!


  • Navigating the Land
  • Apr 19, 2021 5:28 PM UTC

Hi!

We generate a typegform to control the number of people book to access and enjoy our service. I chose a multiple answer to collect the information about different option that we offer. The problem is when we would like to control the occupation for each type of service. 

Someone knows how to solve this?

 

Thank you so much!

Àngela 


Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Apr 20, 2021 8:38 AM UTC

Hey @Laludo. Welcome to the Typeform Community! :hugging:

 

I moved your question to this thread as I believe the workaround above could work for you. Let us know if you have further questions :) 


  • Explorer
  • May 20, 2021 6:42 AM UTC

Can I set the number of respondents to the question in the 'Typeform'? such as you are booking a movie. Or is there a tool that can do this even if it's not a 'Typeform'?


Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • May 20, 2021 8:15 AM UTC

Hi @stibee. Happy Thursday! =)

 

I moved your question here where the answer is. Please let us know if you have further questions. Hope this helps!


  • Explorer
  • Jun 6, 2021 12:57 PM UTC

Hi.

I’d like to find out if an option in the dropdown selection can be disabled if a submission has already been selected once?

 

Take for example:

I have different time slots A, B and C for selection.

Someone selects B as their preferred timing and completes the form and submits it.

Could time slot B be disabled from being selected, leaving only options A and C active to be selected?


Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Jun 7, 2021 8:36 AM UTC

Hello @cherulz. Happy Monday! =) 

 

I moved your question here for more context. Hopefully, the workaround above will work for you. 🙂 Let us know if you have further questions!


  • Navigating the Land
  • Jul 16, 2021 10:30 AM UTC

Hey @choij 👋

Do you feel adventurous?

because there might be a solution using a combination of webhooks and APIs.

You can use webhooks to be notified of a new submission.
The webhook handler extract the data to find which option has been sent, and then update the form definition using our API.

This should work fine unless you have a lot of traffic and there is a chance that someone submits a response while it’s being updated.

This sounds like it might work for me...except I have no idea what a webhook is or how to set this up on my form :) Is there some kind of step by step?


  • Explorer
  • Jul 24, 2021 2:51 AM UTC

I choose event products to a large number of customers.

I want to make a survey.

 

 There are many types of event products and limited inventory per product.

 

 If the customer selected event product,out of stock,

The option should be deactivated for other customers.

 

 What should I do?


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Jul 26, 2021 9:46 AM UTC

Hello @Eden! We're very happy you're part of the Typeform Community! :blush:

I've just moved your question to this thread because the answer to it is here! 

Let us know if you were able to do that. We're very curious to know if it worked out for you!

Have a great week! :wink:


  • Navigating the Land
  • Sep 17, 2021 6:37 AM UTC

Can I create a survey with a maximum of answers per question and when the maximum answers are complete, the answer can appear as complete? I´d like people to choose an option but a maximum of people can click that option.


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Sep 17, 2021 7:51 AM UTC

Hello @Isa16! Welcome to the Typeform Community! :blue_heart:

I moved your question to this thread because there's a workaround suggested by @picsoung that will work for you. You'd have to use a combination of webhooks and APIs to get this done.

Other than that, you could update your form manually. Monitor the number of respondents that select a certain answer and when it reaches the limit, you'd have to delete this answer and then publish your form again.

Let us know if you have further questions :hugging:


  • Navigating the Land
  • Sep 19, 2021 4:23 AM UTC

Hi, is there a way to eliminate an answer choice after one respondent has chosen it? Also, can I choose the number of respondents that can choose the same choice - i.e. say I have availability for two respondents to choose a given slot, and then I want that slot to disappear from the choices. Thank you!


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Sep 20, 2021 9:55 AM UTC

Hey @Esther1! Welcome to our Community! :wave_tone2:

I moved your question to this topic where you'll find some interesting solutions for your use case. @picsoung has suggested a combination of webhooks and APIs that can get the job done! :wink:

Moreover, you can monitor whenever one respondent selects an answer, and when they do, you'd have to delete this option and then publish your form again.

Hope we're able to help! Feel free to ask more questions if you have more doubts. We'll be happy to help! :blue_heart: