Hi again,
I have read and "tested" all the F.A.Qs about CC and CF, but my edit form didn't read any data, and didn't save.
CC works well, list the data base, make one colum editable, when I click any data of this colums the form of CF opens, but opens without data, and if I try to save, shows an "OK" message but no data is stored or changed.
Here the URL of the connection:
http://gamewark.com/edit
Here are the steps I've followed:
CHRONOFORMS
1- Make a New Form with all the elemets I need. That's OK.
2- Add a Hidden Field which will have the primary key from the table. In my table the primary key is on the column "unique_id"
>> My table:
>>My form:
FormName: content-edit
FormApp: edit_pqr
3- In the Setup delete put a "html render" into "on load" event, leave empty the "on submit" event and then add a "connection action" from external apps:
Finish this form, save and exit.
CHRONOCONNECTIVITY
1- Create new connection with connection name "edit".
2- In "Models" y add as title "model1" and select the table. The others fields are empty.
3- In "Front list - Settings" y add into "Colums list" this:
model1.id:ID
model1.text1:Text1
model1.checkbox2:Checkbox2
4- I put "model1-text1:Text1" inside the "edit linkkable" box (to make all this colum editable).
5- In "Front List - Actions - Edit" y add "form event" this:
content-edit:load
6- I leave the "code" empty too.
7- In "Front List - Permissions" I put "allowed" in "Public" (in index, view, edit, save, save_list and toggle).
8- I save all and close.
Here you are the URL of the connection:
http://gamewark.com/edit