@sj I had a similar situation where i wanted to pull data from the database and display it in an lbf form. Here is a link to the forum thread where this was solved
Anyone stumbling across this post in the future trying to accomplish this same thing. Here is how i was able to do it.
You’ll need to make a lbf plugin.
Your plug in will reside in the sites/default/LBF/ directory
Look at the plugins there to get the idea of what should be in the plugin php file.
Basically the name of the file is formId.plugin.php where formId is the id you gave to the form when you made it. It starts with “LBF”.
This file contains javascript that will be added to the lb…