Forums

Configuration action DB Read

gsleo 04 Sep, 2014
Hi,
with chronoforms5 I would try to view the contents of a table in the mysql database, what I can do with version 4.
Unfortunately, I see that there are different settings between the two versions and so far have not been able to get the desired result.
Specifically, what do I do after installing version 5 of the component in question:
1) I create a new form
2) under "designer" and "code" does not configure anything
3) I enter in setup on onload in order dbread the action and the action Html (render form)
4) dbread is configured according to the attached image, and this is the result (see error from the following link:
http://www.sitoeguarda.eu/index.php?option=com_chronoforms5&chronoform=leo

I can not figure out what setting I'm wrong, but mostly I can not find a clear guide as that for earlier versions.
If someone can give me some feedback it saeri grateful!
Thank you
GreyHead 04 Sep, 2014
Hi gsleo,

There is no automatic data displayer yet in CFv5 so you will need to add some code to display the data you have loaded. You can do this with PHP in a Custom Element element in the Designer tab. You'll also need an HTML (Render Form) action in the ON Load event in the SetUp tab to display the output.

Alternatively, if what you need is a data listing you can use ChronoConnectivity which is designed for that.

Bob
gsleo 05 Sep, 2014
ThanksBob for the reply, I thought that I could see with the function dbread in tabular format the contents of a table in my mysql database.
Thanks again for your usual availability
GreyHead 05 Sep, 2014
Hi gsleo,

The DB Read only reads the data from the database table. It doesn't do the *display* part of it :-(

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