Is it possible to submit a hidden field in editor.bubble?
Is it possible to submit a hidden field in editor.bubble?
When I click on a date field in my table, my code presents the first two fields in a bubble, with datepicker and timepicker, just fine.
editor.bubble( this, ['courtdate','courttime','lastupdatedt'] );
The third field is type:hidden. When the bubble is submitted, there is no header entry for
data[lastupdatedt].
Is there a way to force this to be submitted?
Note: when the Edit button is clicked to edit the whole record, the lastupdatedt field appears in the header, just fine.
Thank you.
This question has an accepted answers - jump to answer
Answers
Version 1.5.1 added support for the submit:all option. Check the release notes.
https://editor.datatables.net/download/1.5.1
Yes - the
submit
option sounds like exactly what you need here. Theform-options
reference page also has information about it, but the upgrade documents that ThomD linked to has a general summary of it.If that isn't what you are looking for, can you link to the page so we can understand the issue please.
Regards,
Allan
I went to the main documentation, found submit options, and it worked! Thanks.