Hi,
I am new to Chronoconnectivity and ChronoForms. I have read many posts and tried to educate myself as much as possible but I am not having any luck with one problem. When I click the link field in my view, I am taken to the proper form but no data appears in the form...it is empty.
So here is what I have done. I have successfully created a list view using Chronoconnectivity with my desired fields and one column that is supposed to be the link to allow editing a record. I have tried making the link using both the Auto Listing option and I have built my own custom list view. The results from both are the same. I have inserted the Debugger in the OnLoad section of my form. When the form loads, the Debugger shows the complete data array for the record I selected from the list view. I have also double-checked the URL that is created from the link and it looks OK. (http://taviationservices.com/index.php/clasp-configuration/aircraft-information/cc_edit_data?cid=1). As expected, entering this URL in the browser gives me the same result as when I click the link in the view. (The proper form opens but no data appears.) I have tried this with different records and cf_id always correctly displays the record ID.
It seems like Chronoconnectvity is doing everything correctly and the problem lies somewhere with my configuration of ChronoForms but I can't seem to find where the problem is. I suspect it also may have something to do with my Model_Id's because the "edit from a list" worked before I changed my tables to incorporate Model_IDs.
Thanks you in advance for any advice you can provide.
John
I am new to Chronoconnectivity and ChronoForms. I have read many posts and tried to educate myself as much as possible but I am not having any luck with one problem. When I click the link field in my view, I am taken to the proper form but no data appears in the form...it is empty.
So here is what I have done. I have successfully created a list view using Chronoconnectivity with my desired fields and one column that is supposed to be the link to allow editing a record. I have tried making the link using both the Auto Listing option and I have built my own custom list view. The results from both are the same. I have inserted the Debugger in the OnLoad section of my form. When the form loads, the Debugger shows the complete data array for the record I selected from the list view. I have also double-checked the URL that is created from the link and it looks OK. (http://taviationservices.com/index.php/clasp-configuration/aircraft-information/cc_edit_data?cid=1). As expected, entering this URL in the browser gives me the same result as when I click the link in the view. (The proper form opens but no data appears.) I have tried this with different records and cf_id always correctly displays the record ID.
It seems like Chronoconnectvity is doing everything correctly and the problem lies somewhere with my configuration of ChronoForms but I can't seem to find where the problem is. I suspect it also may have something to do with my Model_Id's because the "edit from a list" worked before I changed my tables to incorporate Model_IDs.
Thanks you in advance for any advice you can provide.
John
Problem solved. It was Model_ID syntax in the ChronoForm. The solution, as documentation states, is to use the syntax Model_ID[field_name].
Hi Skittle,
I have the same problem as yours.
Can you show me how you constructed your link in CC in custom listing?
Have you made any edits to Where SQL field under the general tab?
I am able to link to the form showing some data from the DB however the fields remain empty. Even though I've used the Model ID in my syntax.
I have the same problem as yours.
Can you show me how you constructed your link in CC in custom listing?
Have you made any edits to Where SQL field under the general tab?
I am able to link to the form showing some data from the DB however the fields remain empty. Even though I've used the Model ID in my syntax.
This topic is locked and no more replies can be posted.