Forums

Use a database to populate the fields

Irate 18 Feb, 2012
Hi,

Is it possible to fill some form fields from a database?

Thank's


I use joomla 1.5 and version 2.0 RC3
GreyHead 18 Feb, 2012
Hi Irate,

Probably. But v2.0 of ChronoForms is very old and I don't remember exactly hwo to do this. My best guess is that you have to add the database code by hand into the beginning of the Form HTML and then use <?php echo . . . ?> to set the values.

Bob
Irate 18 Feb, 2012
Thank you. I just installed ChronoForms V4 😀 .

But I have a problem, I change 'Field Name', in CF I save, I save in joomla and I always 'Label Text' that appears ...

Joomla 1.5.23
GreyHead 18 Feb, 2012
Hi Irate,

The 'Field name' box changes the name attribute of the input
<input type='text' name='name' id='name' value='some_value' /> 


To change the Label please use the Label box.

Bob

There are a series of videos here that will help you get started with CFv4.
Irate 18 Feb, 2012
Ok, Thank's
This topic is locked and no more replies can be posted.