Forums

more than 1 actions act=edit

ideagrup 23 Apr, 2015
I need to open 4 different forms with event "edit" in chronoconnectivity

I've created a new event "newedit" formname:load and I've created a link in "front list"

The link is running ok and opens FORM. But doesnt pass the array with data

If i put "edit" instead "newedit" then the form reads the array.

I understand that a new event doesnt pass chronoconnectivity array?

Can I create different events like EDIT ?????

Thank, Thomas
Max_admin 04 May, 2015
Hi Thomas,

Yes, only the "edit" action reads the data by default, but you can still read it manually for other actions using a "DB Read" action.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ideagrup 04 May, 2015
dbREAD action in chronoconnectivity ??

I dont know like to use dbread action in chronoconecctivity

Can i help me??

action edit --> _EDIT_

but i would like to use --> others

_EDIT1_ in form 1
_EDIT2_ in form 2
_EDITn_ in form n

I explain correctly my problem MAX??

THOMAS
Max_admin 06 May, 2015
Hi Thomas,

You first need to define the action under the "Actions" section in your Connection.

Then setup the action permissions.

Then set the action to call a specific form event:
form_name:form_event


Then in your form, add a new event, name it "form_event" and use the "db read".

Did you check the CCv5 tutorials under the FAQs ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
JvdStel 23 May, 2015
Max,
Reading this thread it is not clear to me what you mean with "db read". Bob is referring to it as well in this post. How and where should I code it and how/where can I invoke it and do something with its results?



Johan
GreyHead 23 May, 2015
1 Likes
Hi Johan,

The 'DB Read' is a ChronoForms action - in the Data Management actions group that is used to read one (or many) records from a database table (or linked tables). The action adds the data to the $form->data[''] array - once it is there you can use Custom Code action to process it; use a Custom Code element to display it; or link it into the Dynamic Data tabs or Select or Checkbox group elements.

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