jo-ka
Member
Hello.
I have a DB Join element where I want to use Add option in front end feature. This element, lets call it fab_tickets___Contact is populated from a table that stores customers workers contacts.
My fab_tickets form have at first an DB Join element that get the customer Id (Label as Name) from the customers table, lets call it fab_tickets___Customer.
Then, the second DB Join element, fab_tickets___Contact, get the contacts from the contacts table, based on the previous customer selection (with Data Where and Ajax options active)
This is working perfectly.
Now, I want to enable the Add option in front end feature, which is also working but I want to know if its possible to automate the process, this is.
Once I have the customer selected on the fab_tickets form, when I click on the plus (+) button to add another contact to the contacts list (filling the contacts popup form), is there a way to have the customer field of the fab_contacts form automatically filled with the fab_tickets___Customer data when the popup is displayed?
Because, if I don't have this, I need to first select the customer, so the contact info can be filled in. I'm looking to find a way to avoid that someone erroneously select the wrong customer.
Is there a way to accomplish this?
Thank's in advance.
I have a DB Join element where I want to use Add option in front end feature. This element, lets call it fab_tickets___Contact is populated from a table that stores customers workers contacts.
My fab_tickets form have at first an DB Join element that get the customer Id (Label as Name) from the customers table, lets call it fab_tickets___Customer.
Then, the second DB Join element, fab_tickets___Contact, get the contacts from the contacts table, based on the previous customer selection (with Data Where and Ajax options active)
This is working perfectly.
Now, I want to enable the Add option in front end feature, which is also working but I want to know if its possible to automate the process, this is.
Once I have the customer selected on the fab_tickets form, when I click on the plus (+) button to add another contact to the contacts list (filling the contacts popup form), is there a way to have the customer field of the fab_contacts form automatically filled with the fab_tickets___Customer data when the popup is displayed?
Because, if I don't have this, I need to first select the customer, so the contact info can be filled in. I'm looking to find a way to avoid that someone erroneously select the wrong customer.
Is there a way to accomplish this?
Thank's in advance.