I create a form (form02) with whom I save some data in a database table connected with a connection created with chronoconnctivity (conn02 is the model name).
I insert also a "connection action" in "on submit" event and in the "edit action" on front list i inserted form02:load on form event.
I want to call the data of a row of the table so I use the DB Read action.
These are tha params:
Action Label: empty
Enabled: yes
Table name: #_tabella_form02
Multi read: no
Enable model id: yes
Model id: conn02
Fields: id,nome,telefono,email
Order: empty
Group: empty
Conditions:
I am not good with php, I followed a lot of indications on this forum but I cannot understand what I am wrong...
I hope my problem is understandable, please I need your help. Thanks
I insert also a "connection action" in "on submit" event and in the "edit action" on front list i inserted form02:load on form event.
I want to call the data of a row of the table so I use the DB Read action.
These are tha params:
Action Label: empty
Enabled: yes
Table name: #_tabella_form02
Multi read: no
Enable model id: yes
Model id: conn02
Fields: id,nome,telefono,email
Order: empty
Group: empty
Conditions:
<?phpWhen I click on modify link in the connection "conn02" the system goes to the form, but in the form there aren't the corresponding data...
return array('id' => $form->conn02['id']);
?>
I am not good with php, I followed a lot of indications on this forum but I cannot understand what I am wrong...
I hope my problem is understandable, please I need your help. Thanks