Forums

So where is the DB Connection Tab in V4?

tmichels 08 Feb, 2011
I seem to be missing something here and can not connect the database table to my form. I've been reading old tutorials but I can't find an answer. Thanks,
-Taylor
GreyHead 08 Feb, 2011
Hi Taylor,

ChronoForms v4 has a completely different admin interface (and a new Event + Action framework). I'm still finding my way round it.

To do a DB Save drag the DB Save Action into the onSubmit Event box. I've just looked at the Configuration options for the first time (click the spanner icon on the new Action) and I'm not clear what the third option is?

Bob
Max_admin 09 Feb, 2011
Hi,

Yes, please use a DB save action, I have added many hints in the latest RC1.3, you may leave the "Model ID" field empty or leave it as "chronoform_data", its used to control which fields are passed to the save process, for example you may have 10 fields in your form, 5 of them only need to be passed to the save action, so you should name them as "xxx[field1]", "xxx[field2]"...etc and use "xxx" in the model id.

later after the save, you may access the data saved and any auto data created (e.g: cf_id, cf_uid, ..etc) under the same model_id,
$form->data['xxx']

and in the email or using the curly brackets formula any where:
{xxx.field_name}


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
tmichels 10 Feb, 2011
Thank you for the responses.

I have added many hints in the latest RC1.3



Can you elaborate on what this means? I am new to the forum and chronoforms
GreyHead 11 Feb, 2011
Hi tmichels ,

Just that there is now some help text under the various input boxes.

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