Ok please bear with me on this one.
Im stuck in an infinite loop of addresses frustration. This is the setup:
I have a Type Locations, a Type Quote and a Type Logistics.
Locations holds addresses
Quotes holds quotes and uses a dropdown with Locations to choose the right Location for each quote. The quotes are separated with unique numbers. Since quotes are compiled of a lot of services, there isnt just one ‘Quote’ but instead a whole bunch that form a single quote as presented to the client. With the unique identifier, I can filter out just the Locations and Price for that particular quote.
For Logistics I need just one or two (depending on how many quotes there are and how many have been accepted) things created. There is some data from the quote (like quote number and name) and there is some data from Location (the addresses and type of addresses)
There are two problems:
I present the quotes in a table to the client and use the following input to display Locations:
The origin address you see there is actually a Location stored in the Quotes object.
The field in the Logistics type it should populate is of ‘geographical address’.
The problem is that the address doesn’t save. It doesn’t save it probably because it doesn’t recognize it as being a valid geographical address and I think that is because of the language issue. When I save something it is saved in Dutch (and I created a topic about this problem that seems to be very difficult to solve). But when the address is saved in English, it will recognize and create the entry.
The other issue is that when I want to actually select a Location, it wont allow because this is clearly not a location but a geographical address. Same with content format Text.
But, rejoice, I found a workaround. Instead of the standard input field, I used a dropdown to display the locations:
The default value actually allows me to select the Location through the Quotes object. This populates the Logistics perfectly.
BUT, the input field is a dropdown and no matter how I change the styles, it will still display the dropdown caret.
Hence the infinite loop of frustration…
If this setup doesn’t work in the end I might need to look at combining the Locations and Quotes objects, but there are a couple of reasons why they are not the same thing…
Sory for not sharing the app. I know this makes it harder to provide input but at this point I’m just not feeling comfortable sharing everything about my app while its still in development.
Any input is greatly appreciated.