Form not updating data
Form not updating data
nicoledramirez@hotmail.com
Posts: 60Questions: 14Answers: 2
Hello, I am using: https://datatables.net/release-datatables/examples/api/row_details.html and wanted to add a field to update. Everything loads fine but when I hit update, nothing changes in the db. I looked at the debugging tool and it looks like client_billedxxxxxx instead of client_billed=xxxxxx
$(document).ready(function () {
editor = new $.fn.dataTable.Editor({
"ajax": "/api/cdi_master",
"table": "#example",
"fields": [
{
label: "Client Billed:",
name: "cdi_details.cdi_master_id",
type: "radio",
options: [
{ label: "Yes", value: 1 },
{ label: "No", value: 0 }
],
"default": 1
},
]
});
This discussion has been closed.
Replies
Could you give me a link to the page showing the issue so I can debug it please?
Thanks,
Allan