Conditional Display

Hi everyone!

Here’s a video explaining my flow:

I am selling a service and I need to collect 1 photo for each service I sell.

That means, if someone wants to stage 5 photos, they purchase 5 services, and I need them to upload 5 phots at the end of the order.

Is there a way to show 5 “Upload Photo Fields” if my client buys 5 photo services? And 1 “Upload Photo Field” if my client buys 1 photo?

Thank you!

  1. You could have a photos collection. And have a button to go to the upload page. The upload page has 1 photo upload form, and then it goes back to the last screen after upload. The button to add photos shows IF user > photos > count = 2 etc. This is a slightly different user interface to what you are asking.

  2. Have photo properties under user e.g. Photo 1, Photo 2, Photo 3, Photo 4, Photo 5. You could have 5 separate forms on one page each with the image picker. Custom visibility on the forms depending how much user has purchased. However this option is confusing for user as they might not hit the submit button on each form, and when they click the button nothing changes to show it saved without making further features.

  3. Have a flow of 5 screens. Each with an image uploader.
    Screen one submit button has 2 link actions- one link takes user home, the other goes to the next photo screen. But conditional action. Link to ‘order complete’ page if user purchase = 1, or link to next photo page if user purchase >1. Etc.

You have a number of ways to implement this.

1 Like

Thank you for getting back to me!

I am going to try to implement option 1.

I really appreciate you taking the time to understand what I was asking and laying out a concise answer!

@theadaloguy Nathan, how would you suggest structuring the data?

I currently have tables for:

  • Products
  • Orders
  • Order Items

I thought about having 5 image fields on the “Order Items” table, and they each have a toggle on that can be turned on depending on the Quantity the client chooses to purchase.

Do you see a better way to do this?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.