Skip to main content
Solved

How to set up a field to auto-populate based on a previous answer

  • February 19, 2020
  • 2 replies
  • 34 views

Hi there

I am wondering if there is a way I can have a field to auto-populate based on a previous answer.

E.g. if they choose to attend EVENT 1, it will auto-populate that it is 3 days ‘Number of Days’ field, or if they choose EVENT 2, it will auto-populate that it is 5 days etc.

Is there a way to do this?

Thanks in advance

Best answer by Jeremy_Oglesby

You can do this in a formula field, but not in a number field. In a formula field, just put something like this formula:

SWITCH(
   {Event Selection Field},
   "Event 1", 3,
   "Event 2", 5
)

2 replies

Forum|alt.badge.img+18
  • Inspiring
  • Answer
  • February 19, 2020

You can do this in a formula field, but not in a number field. In a formula field, just put something like this formula:

SWITCH(
   {Event Selection Field},
   "Event 1", 3,
   "Event 2", 5
)

  • Author
  • New Participant
  • February 20, 2020

You can do this in a formula field, but not in a number field. In a formula field, just put something like this formula:

SWITCH(
   {Event Selection Field},
   "Event 1", 3,
   "Event 2", 5
)

This is great, thank you!