I'm using an advanced form, based on the demo Basic Article Listing, in CF v7, as suggested in a previous post.
I'm working with data in one table with just 7 columns. I have successfully created a table listing. There is a button to create new records, which opens a form to create a new record, save it, and refreshing the table list. No problem there.
I've created an edit link that should open the form with the data from the selected row. I should be able to edit the data, save it, and have the updated data appear in the table listing.
I have been able to get the form open with the data and edit it. When I save the data it doesn't actually update the record. Once I got the form working correctly for adding new records the form no longer opens a record with the data of a row selected for editing.
To troubleshoot, I created another version of the demo form. I tested it. It gives me a list of articles. I click the new article button and fill in the form. When I click save it does create a new record, but the the values entered in the fields is not saved. I click the edit link and it opens the form and those fields are blank because the data never saved. If I edit and save the data is not saved. I even opened an existing article, make some minor edits in the form, save, and the article isn't updated.
I need to resolve this so I can add new records and edit existing records. It would be nice if the demo form worked since documentation is lacking for CF v7, there's no tutorials or FAQ's available, and it's not possible to search this forum.
I'm working with data in one table with just 7 columns. I have successfully created a table listing. There is a button to create new records, which opens a form to create a new record, save it, and refreshing the table list. No problem there.
I've created an edit link that should open the form with the data from the selected row. I should be able to edit the data, save it, and have the updated data appear in the table listing.
I have been able to get the form open with the data and edit it. When I save the data it doesn't actually update the record. Once I got the form working correctly for adding new records the form no longer opens a record with the data of a row selected for editing.
To troubleshoot, I created another version of the demo form. I tested it. It gives me a list of articles. I click the new article button and fill in the form. When I click save it does create a new record, but the the values entered in the fields is not saved. I click the edit link and it opens the form and those fields are blank because the data never saved. If I edit and save the data is not saved. I even opened an existing article, make some minor edits in the form, save, and the article isn't updated.
I need to resolve this so I can add new records and edit existing records. It would be nice if the demo form worked since documentation is lacking for CF v7, there's no tutorials or FAQ's available, and it's not possible to search this forum.