• Is it possible to export the sequence number?

    I moved all the messages to the Bin, we had 100s for the 5 different forms. For the next messages submitted the sequence number re-started at 1?

    There are three types of folders – Inbox/Spam/Bin. They all a ‘View Channels’ dropdown. However, the values in the dropdown are set by whatever is in the Inbox. If you move all your entries to the bin then View All Channels is blank!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • I’ll answer based on the assumption that the “sequence number” refers to the serial_number stored in the message metadata. If that’s not what you meant, please let me know.

    At the moment, it seems that the metadata shown on the individual message view (such as serial_number) is not supported for export. Only the main message fields are included in exports.

    Regarding how serial_number is assigned: after checking the implementation, it is calculated as (number of existing entries) + 1.
    Because of this, if all messages are removed from the Inbox (for example, moved to the Bin), the next submitted message will start again from 1.

    The relevant code is implemented in Contact Form 7 itself.
    While serial_number is stored, it doesn’t appear to be actively used anywhere else in the codebase.

    Out of curiosity, is there a particular benefit or use case you’re aiming for by having a serial_number (sequence number)?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.