Is it possible to redirect a form field to another form field based on a selection?

frivera 26 May, 2015
Here is what I want to do.

I have created a form for a doctor’s office with two locations. Each location is open on different days of the week and the appointment hours are different for each day and location.

For example:
Location 1 is open on Mondays, Thursdays and Fridays, appointment times are different for each day they are open.
Location 2 is open on Tuesdays and Wednesdays, appointment times for this location is the same for each day.

So when a new patient fills out the form and get to the part for the form that requires them to make an appointment they are asked to make a location selection first. With that done they are then asked to select an appointment time. I would like the form to display the appointment time’s field based on the day and location selected.

The flow would look like this:

Select: Location 1 -> Select: Day of the week ->Monday ->Show Mondays appointment hour’s dropdown

9:00 AM, 9:00 AM, 10:00 AM, 10:30 AM

-OR-

Select: Location 1 -> Select: Day of the week ->Thursday ->Show Thursdays appointment hour’s dropdown

10:00 AM, 10:30 AM

-OR-

Select: Location 1 -> Select: Day of the week ->Friday ->Show Fridays appointment hour’s dropdown

1:00 PM, 1:30 PM, 2:00 PM, 2:30 PM

-And the same thing for location 2-

Select: Location 2 -> Select: Day of the week ->Tuesday ->Show Tuesdays appointment hour’s dropdown

9:00 AM, 9:00 AM, 10:00 AM, 10:30 AM

Select: Location 2 -> Select: Day of the week ->Wednesday ->Show Wednesdays appointment hour’s dropdown

9:00 AM, 9:00 AM, 10:00 AM, 10:30 AM

I hope this can be done.

Regards,

Felix
GreyHead 26 May, 2015
Hi Felix,

Please see this FAQ

To keep this a bit simpler you could put the location selection on one page and have the appointment selector on the next - or you could put each location's appointment selector in a container and show/hide the container depending on the location setting.

Bob
This topic is locked and no more replies can be posted.