I wish to display data (number of records) from a database.
Is it possible using Chronoform?
How to use 'Custom Code' for the same?
Is it possible using Chronoform?
How to use 'Custom Code' for the same?
Hello santosh.karkhanis,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How do I save form data to a database table?
How to load record data from a database table into your form
My form data isn't saving to the database correctly
My CFv5 form data isn't saving to the database correctly
How can I edit my database table and debug queries?
How can I select 'types' in a database table?
How can I edit a record from a database table?
How can I add a new column to a database table or change a column type?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How do I save form data to a database table?
How to load record data from a database table into your form
My form data isn't saving to the database correctly
My CFv5 form data isn't saving to the database correctly
How can I edit my database table and debug queries?
How can I select 'types' in a database table?
How can I edit a record from a database table?
How can I add a new column to a database table or change a column type?
P.S: I'm just an automated service😉
Hi,
If you just want to display some data, you should use ChronoConnectivity instead of Chronoforms.
If you need ChronoForms, then you will have something like that:
On load event : DB read action (or equivalent to find the data) (Model id = my_data) + show html
On your form : custom code
You could format your data as you want (text, table...).
Hope this answer your question.
Florence
If you just want to display some data, you should use ChronoConnectivity instead of Chronoforms.
If you need ChronoForms, then you will have something like that:
On load event : DB read action (or equivalent to find the data) (Model id = my_data) + show html
On your form : custom code
<?php
foreach($form->data['my_data'] as $v){
$text=$text.$v['cell_1'].$v['cell_2'];
}
echo $text;
?>
You could format your data as you want (text, table...).
Hope this answer your question.
Florence
Great Florence, it works.
But I need a little more help, as I am not a coder by profession.
I am developing a site for my school in low income-group area.
Can you guide me on how to separate the different fields & arrange each record in a different row?
Regards
But I need a little more help, as I am not a coder by profession.
I am developing a site for my school in low income-group area.
Can you guide me on how to separate the different fields & arrange each record in a different row?
Regards
Done with some struggling.
Thanks.
Thanks.
This topic is locked and no more replies can be posted.
