Is it possible to submit a hidden field in editor.bubble?

Is it possible to submit a hidden field in editor.bubble?

belldrbelldr Posts: 12Questions: 4Answers: 0

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

  • ThomDThomD Posts: 334Questions: 11Answers: 43

    Version 1.5.1 added support for the submit:all option. Check the release notes.

    https://editor.datatables.net/download/1.5.1

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Yes - the submit option sounds like exactly what you need here. The form-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

  • belldrbelldr Posts: 12Questions: 4Answers: 0

    I went to the main documentation, found submit options, and it worked! Thanks.

This discussion has been closed.