GabrielFigueroa
4 years agoQrew Member
Auto select a conditional(filtered) dropdown based on selection of another dropdown
A user has to select the company to do business with from a dropdown (related Hauler table).
The Contact table is related to the Hauler table. The Contact table has multiple contact information i.e. such as Billing, Dispatch, Admin & so on.
In this application, how can the Contact be auto-selected for the Dispatch contact information whenever the Hauler is changed.
The Hauler can change depending on the agreement.
First attempt was to use JQuery to locate the Dispatch RID (using the already user selected Hauler information) then API_EditRecord to update Related_Contact field but an errcode = 2 (invalid input) & errdetail of "Sorry you can't provide both the rid & key...".
The Contact table is related to the Hauler table. The Contact table has multiple contact information i.e. such as Billing, Dispatch, Admin & so on.
In this application, how can the Contact be auto-selected for the Dispatch contact information whenever the Hauler is changed.
The Hauler can change depending on the agreement.
First attempt was to use JQuery to locate the Dispatch RID (using the already user selected Hauler information) then API_EditRecord to update Related_Contact field but an errcode = 2 (invalid input) & errdetail of "Sorry you can't provide both the rid & key...".