PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Adding a custom column to the entries table

  1. How do I automatically add a pseudo-field (like payment_status) to a form and have that field display on the entries list table?

    Background:

    I'm working on a connector to allow Gravity Forms to talk to a contact centre system. I want to record whether the remote connection succeeded in a send_status pseudo-field and show that on the entries table so connection problems can be clearly seen. I think GF already uses the payment_status pseudo-field to do something similar?

    I think I can use export_fields to add in the field, but I can't see how to get that field on to the entries list table. Actually, I don't think I can use export_fields to do this. Darn.

    Posted 7 years ago on Friday March 8, 2013 | Permalink
  2. Should I be looking at the gform_*_meta functions?

    Posted 7 years ago on Friday March 8, 2013 | Permalink
  3. David Peralty
    Administrator

    If you add a hidden field to the form, it should create a spot for you to place the data and allow it to show up in the entries column.

    Posted 7 years ago on Friday March 8, 2013 | Permalink
  4. Thanks David.

    Is there any way to do this without requiring the user to add the hidden field? Can I automatically add a field?

    Posted 7 years ago on Friday March 8, 2013 | Permalink
  5. David Peralty
    Administrator

    There is no way to do this outside of what I've mentioned that is currently supported, and we do not have a hook or filter to do so as far as I'm aware.

    Posted 7 years ago on Friday March 8, 2013 | Permalink
  6. Would you consider adding filters to allow this in a later version of the plugin?

    Posted 7 years ago on Tuesday March 12, 2013 | Permalink
  7. David Peralty
    Administrator

    It wouldn't just be a filter though. You'd have to have the table for data recording changed to include whatever custom data you want.

    Posted 7 years ago on Tuesday March 12, 2013 | Permalink