good morning! I have a form, with the aim of the customer choosing sizes for products. Is there any way to control the stock? | Community
Skip to main content
Answered

good morning! I have a form, with the aim of the customer choosing sizes for products. Is there any way to control the stock?

  • February 16, 2023
  • 2 replies
  • 113 views

good morning! I have a form, with the aim of the customer choosing sizes for products.  Is there any way to control the stock? 
 

Is there a way to limit the number of clicks on a given option?  Example: What is the shirt size?  Option A: size S

Option B: size L

(As I only have 10 units of sizes S, I said that there was a maximum response for this option of 10 clicks)

When the 11th person clicks on the option, they receive a warning (that there are no more sizes) or are forwarded to a page with that information
 

it's possible?
 

Thank you very much 

Best answer by jeremielp

Two options:

  1. Pass your remaining inventory in hidden fields. Then, when a user selects an option, use logic to check the size selected versus the remaining stock.
  2. Use TypeForm API to modify your form based on the replies received. See here:
    https://community.typeform.com/build-your-typeform-7/remove-options-based-on-all-responses-299
View original

Forum|alt.badge.img+5
  • Community Wizard
  • February 16, 2023

Two options:

  1. Pass your remaining inventory in hidden fields. Then, when a user selects an option, use logic to check the size selected versus the remaining stock.
  2. Use TypeForm API to modify your form based on the replies received. See here:
    https://community.typeform.com/build-your-typeform-7/remove-options-based-on-all-responses-299

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • February 24, 2023

Hi @Bernabb134 Happy Friday! Did the solutions above work for you? Let us know if you have any other questions!


Reply