Answered

I hope that the results of the first survey will influence the next one.

  • 23 July 2021
  • 3 replies
  • 20 views

I made a survey.and I want first customer's selection value is stored in a variable.Later, other customers participated in the survey, we wanted the first customer's selection value to have an effect.However, the stored variable is initialized.What should I do?
icon

Best answer by Gabi Amaral 29 July 2021, 10:46

View original

3 replies

Userlevel 7
Badge +5

Hi @Eden. Welcome to the Typeform Community! :hugging:

 

I'm not completely sure I understand your use case. Do you mind sharing an example of how this would work? Once we have more understanding, we'll be in a better position to advise =)

 

Looking forward to hearing from you! 

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?

 

https://xkss7gz9j0d.typeform.com/to/Pc9060iR

Userlevel 7
Badge +5

Hey @Eden! Thanks for your message! :blush:

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.

There's more info about that over here:

 
Make sure to take a look at it! :wink:

Reply