

I’ve split path parts before and joined, but I’m not finding how to grab character parts here. Rental 1 would pick Truck model 3, and the script would know to grab Truck model 3’s data and map them to Rental 1’s spots on the various forms. My thought is that would allow a single document level script to do all the work of combining rentals with trucks and their data in various places on the form. map those data sets together and display them in the appropriate fields in the forms use those variables to join with a chosen fourth character to know which data sets to find grab the first three characters of the chosen truck model field name (ex.: TD3) as a variable grab the first three characters of the current rental dropdown menu field name (ex.: T01) as a variable Would it be possible to write a document level script that can: My plan is that each dropdown menu would be fields labeled T01t, T02t, etc. So I’m anticipating doing that and here’s how I thought it out… Someone here recommended that I should think that way for a future project and I haven’t forgotten. I want to be able for the appropriate model TD data sets to get mapped to the T01 to T30 data sets when the user uses the drop-down menu and picks a model.Īnd it seems to me that by using a document level script I could save a lot of hassle in editing. … and so on for all the models and all the data sets. The truck models have their data sets listed like this…. The truck rentals are given names T01, T02, T03, etc… so their data sets are given a suffix in their fields like this… That truck rental number’s data results will show up in various places in the forms. Once a model is chosen, there are eight data sets associated with each model that would be mapped to the truck rental number.

The idea is to choose from a pull-down menu for each truck which has “NO TRUCK” as the default choice with the seven models as options. The client would like to have it where up to 30 trucks can be listed on the form, and each of the 30 trucks could be one of seven different models. I have a couple holes in my knowledge and would like to ask for for some advice to help me complete it. I’ve come up with a plan for the interactive elements. I’m updating a form used for booking truck rentals.
