• I have noted that the order of the columns vary depending on the order of the fields in form. Sometimes I need to change that order in HTML and the possibility to “lock” those array positions is essential otherwise every time it would be a nightmare to change all the code

    for example if i add another field to the HTML, let’s say a hidden field and my scripts are setting it like so:

    $my_value = $my_array['2'];

    this will need to be changed manually in

    $my_value = $my_array['3'];

    Is there a way to lock the columns array position so that they don’t change?

    Or a way to set them on page load?

    For example I want that $my_value always shows on column number 2 (value 4) in this case.

    Array
    (
    [0] => 1442206420
    [1] => 5
    [2] => 4
    [3] => NULL
    [4] => 360

    )

    https://www.ads-software.com/plugins/contact-form-7-to-database-extension/

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    In a short code you can specify any order you like using “show”.

    On the administration page, there is no way to change the order.

Viewing 1 replies (of 1 total)
  • The topic ‘Fixed column order’ is closed to new replies.