Help

Assistance with conditional logic needed to set field values

Topic Labels: Base design Data Formulas
953 3
cancel
Showing results for 
Search instead for 
Did you mean: 
nefiger
6 - Interface Innovator
6 - Interface Innovator

Hi AT community

I once again appeal to you for assistance, please.

We are a performing arts company who provide entertainment for events. An event can book one or more performances which can be of the same type or different types. These types are important as the booking contract sent to the client (generated in AT + CraftMyPDF) includes technical requirements specific to the performance type.

In the case where there are multiple types of performances in the same event, there is a cascading order in which technical details should be selected.

Now, in our base we have all our performance offerings listed, along with their type (offerings table). These are pulled through to a booking record (in the bookings table), where 1 booking can have 1 or more performances. 

Booking Contracts is another table which takes exactly the information needed to generate the PDF.

The piece of the puzzle I am attempting to solve is populating the Booking Contracts record with the correct technical requirements, based on conditional logic. Where there is just a single performance per booking, this is a simple lookup, but things get tricky where there are performances of different types in the same booking.

In these cases, I want to specify that if one of the types contains xx, then use set A, else if it doesn't contain xx, but does contain yy, use set B and if neither of those conditions match, use set C. 

I initially had technical requirements at the performance level and linked those through, but for bookings with more than one performance, I would get the technical details for each performance.

I have since pulled them out into a reference table, linking through type to offerings, but I am stuck on where/how to implement the logic. It's worth noting I currently only have scripting extension available, not automation scripting.

(A secondary issue here is that the original field is rich text, and is well formatted, but pulling that data through to other tables loses all formatting which seems to really defeat the point. If there are any points around this, it would also be greatly appreciated!)

I've also wondered whether I could perhaps expose the field in an interface, but allow users to edit/reformat - but unsure whether that is feasible. 

3 Replies 3

Hm, where does the "Set" data reside? 

Is there any chance you could provide screenshots or, even better, a link to the table with example data?  This is a pretty complicated set up and it's rather difficult to visualize how everything fits together and what you want the end goal to be

nefiger
6 - Interface Innovator
6 - Interface Innovator

hey @TheTimeSavingCo - you're so right, it's rather convoluted and I definitely haven't done a great job using my words! 🙈

"set" data lives in Technical Details (with an attempt in Performance Technical Details to create the relationship between offerings, categories and the description).

I've shared the base, if anyone is up for some poking around - I'd really appreciate any steers. 🙏 

Hey there,

It definitely sounds like several steps are needed for each field. This seems to need more powerful conditions than the basic Airtable forms can provide..

On2Air Forms might be a good option. It can handle multiple tables on 1 form. We're also slowing rolling out our newly developed Conditional Logic feature to customers and it's basically in-form automations.  

Here's an simple overview of what the logic can do:

https://on2air.com/content/on2air-help-center/app-documentation/on2air-forms/fields-actions-conditio...

 

______________________________________
Hannah - On2Air.com - Automated Backups for Airtable