Populate CF5 with data from 2 different DB's

kraadde 06 Jun, 2016
What I like to achieve is to populate a form with data from 2 different databases, like users data read out from Joomla users-database and article data as selected by the user from an other database. Then on submit, an email should be sent to an email address also out from the article database.
Is it possible to use 2 DB Read actions in the same setup page and then how to "select" the correct user data ?
I tried this with some Custom Coding, but whenever i change something in the design.. a big mess! Any better solution?
Thanks
Adriano
GreyHead 07 Jun, 2016
Hi Adriano,

You can use one DB Read action and use the Relations tab settings to link a second table. Or you can use a Custom Code action in the On Load event to add a custom MySQL query of your own.

Bob
This topic is locked and no more replies can be posted.